WordPress.org. Транслит url wordpress
Rus filename translit | WordPress.org
WordPress russian filename translitter. Russian filename not correct save by WordPress.
For example: “Приказ от 16_06_2011г_N755 О проведении единого государственного экзамена в Республике Марий Эл в 2011 году в дополнительные сроки.pdf” saved as “Prikaz-ot-16_06_2011g_N755-O-provedenii-edinogo-gosudarstvennogo-ehkzamena-v-Respublike-Marijj-EHl-v-2011-godu-v-dopolnitelnye-sroki.pdf”, but file title saved as “Приказ от 16_06_2011г_N755 О проведении единого государственного экзамена в Республике Марий Эл в 2011 году в дополнительные сроки”.
License
The WordPress Rus filename translit plugin is copyright В© 2009 with GNU General Public License by fixed77.
This program is free software; you can redistribute it and/or modify it underthe terms of the GNU General Public License as published by the FreeSoftware Foundation; either version 2 of the License, or (at your option) anylater version.
This program is distributed in the hope that it will be useful, but WITHOUT ANYWARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR APARTICULAR PURPOSE. See the GNU General Public License for more details.
- The appearance of a plugin
To use WordPress russian filename translitter, you will need:
-
an installed and configured copy of WordPress version 2.6.x, 2.5.x,2.3.x, 2.2.x, 2.1.x, 2.0.x, or 1.5.x. (WordPress Signaturer will also work withthe equivalent versions of WordPress MU.)
-
FTP or SFTP access to your web host
New Installations
-
Download the WordPress russian filename translitter archive in zip or gzipped tar format andextract the files on your computer.
-
Copy rufilenametranslit in the wp-content/pluginsdirectory of your WordPress installation. Use an FTP or SFTP client toupload the contents of your WordPress Rus filename translit archive to the new directorythat you just created on your web host.
-
Log in to the WordPress Dashboard and activate the WordPress Rus filename translit plugin.
“Rus filename translit” is open source software. The following people have contributed to this plugin.
Contributorswordpress.org
Google Transliteration | WordPress.org
This plugin offers Complete language transliteration support for your wordpress blogs in Persian, Tamil, Telugu, Hindi, Malayalam, Kannada, Arabic, Nepali, Marathi, Punjabi, Bengali, Gujarati and Urdu using google transliteration API. Visitors can use Ctrl+G key combination to toggle between english and selected language.
What’s New in version 1.7.2:
* Added support for wordpress 4.5 and buddypress 2.5.2- Upload google-transliteration to the /wp-content/plugins/ directory
- Активируйте плагин через меню «Плагины» в WordPress.
«Google Transliteration» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:
Участники1.7.2
- Added support for wordpress 4.5 and buddypress 2.5.2
1.7.1
- Added support for wordpress 4.5
1.7
- New transliteration button UI
- supports wordpress 3.2.1 and buddypress 1.2.9
1.6
- Add transliteration support for BuddyPress
1.5
- Add transliteration support for admin panel
- Fixed a bug in comment area textbox in some themes
- Add Compatibility with WordPress 3.1
1.1
- Add Compatibility with WordPress 3.0
1.0
- Users can now select from a list of languages for transliteration in the comment form.
- now you can customize the positon of transliteration options in the comment form.
- fixed a bug where checkbox in the coment form had problems with some themes.
0.8
- Now you can enable/disable Google Transliteration by default.
- Commenters can easily toggle Google Transliteration by checking a checkbox.
0.7.0.1
- some persian language translation fixed.
0.7
- Add ability to set the correct comment field id due to different wordpress themes’ settings.
0.6.1
- Add support for Italian language
0.6
- Add support for persian language
- fixed a bug where plugin does not work when admin was loged in to the blog.
0.5
ru.wordpress.org
SrbTransLatin | WordPress.org
SrbTransLatin handles using Serbian or Russian language Cyrillic and Latin script. For Cyrillic content, visitor may choose to view it using Cyrillic or Latin.
Contents of the site should be written using Cyrillic script. Then, this plugin will allow users to choose to read contents in Cyrillic or Latin script.
If some contents is entered in Latin script, it would stay in Latin even if user chooses to use Cyrillic. Transliteration occurs only from Cyrillic to Latin script.
Site owner may set default for script to show Cyrillic or Latin.
Script also may be selected manually, by adding ?script=cir or ?script=lat to document url. If parameter is not specified default script is used.
Site owner may use widget to allow visitors to choose among Cyrillic and Latin script. He may choose if script options are shown as html links or items of combo box. By default, html link are dipslayed. He also may set if widget would show title or not.
When user selects script, his choice stays permanent while he is on site. All internal links within site are altered to contain information about selected script. This means, when link is copied and pasted to some other site, it would contain information which script to use for displaying contents.
Initially, when new article is posted using Cyrillic script in title, permalink is created with conversion to Latin script. Site owner may turn it of.
Transliteration works for all feeds too (atom, rdf, rss, rss2).
Disabling transliteration for part of page contents
When transliteration occurs, everything in the HTML document is transliterated from Cyrillic to Latin script except if contents is placed among [lang id=”skip”] and [/lang] tags. This leaves user to mark part of the text he does not want to be transliterated at all, meaning, some parts of Cyrillic text may stay Cyrillic even if user chooses to view site in Latin script.
Changing image depending on selected script
If you want to add image on page which contains Cyrillic text and you want it to be replaced with image that contains Latin script then add -cir- as suffix in image name. On transliteration, Image name will be changed to have -lat- as suffix.
Example: filename-cir-.jpg will be replaced with filename-lat-.jpg
You have to provide Latin version image at same path as Cyrillic image is placed, of course.
You may use other delimiter besides “-“. You have to set delimiter in plugin settings. Delimiter may be more than one character long.
Script mark may be placed anywhere in path, not just file name.
If you want to test there are two example files available in img directory of a plugin.
Using script selector on custom places
If you need to put script selector in site template outside widgets areas then you can use function stl_show_selector() provided with plugin. Function accepts four parameters (all optional):
stl_show_selector (selector_type, oneline_separator, cyrillic_caption, latin_caption, inactive_script_only, show_only_on_wpml_languages)
selector_type chooses which type of selector to display:
-
links – list of choices in form of widget items
-
list – list of choices in form of dropdown selection
-
oneline – list of choices as one line separated by oneline_separator
Default value is ‘oneline’
oneline_separator is a string that should be inservted between script selection items. Default value is ‘/’.
cirillic_caption is a string that should be used as caption for item of cyrillic sleection. Default is ‘ћирилица’
latin_caption is a string that should be used as caption for item of latin sleection. Default is ‘латиница’
inactive_script_only if checked dosplays only option to select inactive script, currently active script wil not be an option
show_only_on_wpml_languages contains list of WPML languages comma separated for which script selection swhould be visible
To use this function just call it from place where you need code to be inserted, like:
<?php stl_show_selector('oneline', '/', 'ћирилица', 'латиница') ?>Selector templates are stored in plugins ‘template’ directory. IF you want to customiye, you may copy template to your template directory and customize there.
Using script info in custom code
You may use some info about script state for customizing templates. Here are available functions:
stl_get_current_script() – returns id of currently displayed script. It returns id as set in plugin options.
stl_is_current_cyrillic() – returns true if currently displayed script is Cyrillic.
stl_is_current_latin() – returns true if currently displayed script is Latin.
stl_get_cyrillic_id() – returns
wordpress.org