Czech / Slovak Transliteration (Czechoslovak) - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: Czech / Slovak Transliteration (Czechoslovak) (/showthread.php?tid=4595) |
Czech / Slovak Transliteration (Czechoslovak) - TeeJay - 2013-04-05 Hello, With assistance of Carlos (thank you) and his "cyrillic translit" and "roman translit" plugins, I created a transliteration plugin "czechoslovak translit" for Czech and Slovak languages. What it does? When you write a Czech/Slovak title of a page (or an article in the News Manager), this plugin transliterates the title for the url/slug in the correct way. For example, a title "NejnovějšàÄÂlánky" will be transliterated to "nejnovejsi-clanky" and no character is missing, which is very desirable for SEO. Your URL with Fancy URLs will automatically look like "yourwebpageadress.cz/nejnovejsi-clanky" You don't have to edit the urls/slugs manually, this plugin will do it for you correctly from your title. It's very simple, but it saves your time. Here is the list of transliterated characters: Code: //special Czech chars with diacritics In case you were thinking how to install this plugin, just download the .php file and copy it into /plugins folder in your GetSimple directory. Tom RE: Czech / Slovak Transliteration (Czechoslovak) - evan70 - 2013-04-05 Thanks Tom RE: Czech / Slovak Transliteration (Czechoslovak) - TeeJay - 2013-04-05 (2013-04-05, 16:30:18)evan70 Wrote: Thanks TomAre you from here? Sorry for OT, I won't do it again, I promise! RE: Czech / Slovak Transliteration (Czechoslovak) - yojoe - 2013-04-05 Translit plugin isn't a bad thing. But there is already such plugin, and whole transliteration function exist in GS since v3.0 You just have to add translit array into czech translation file, and set the language in user settings. RE: Czech / Slovak Transliteration (Czechoslovak) - TeeJay - 2013-04-05 (2013-04-05, 20:14:45)yojoe Wrote: Translit plugin isn't a bad thing.As far as I didn't know the right syntax of the array in lang file, I did it as a plugin. Carlos have already told me about this option. In addition, this plugin works with more languages instead of one. If I had added it just into cs_CZ.php for the Czech language, I would also have had to add it to sk_SK.php which I still don't have (and don't need). So this is a plugin just for the heart of Europe I don't mind if no one downloads it. I have just posted it because there might be someone who would appreciate it. If not, nothing happens. RE: Czech / Slovak Transliteration (Czechoslovak) - Carlos - 2013-04-05 @yojoe This way users can select a different language for the backend (e.g. English) and keep slug transliteration working. RE: Czech / Slovak Transliteration (Czechoslovak) - yojoe - 2013-04-05 I had on mind, that plugin will work regardless of chosen language That's very nice, because when GS gets a real multiuser funcitonality, this will become very handy. Afair there was a discussion about transliteration, and the choice felt on translit array inside language file, not a global transliteration array with all UTF chars. |