Article's alias transliteration doesn't work

General questions regarding the use of languages in Joomla! 2.5.

Moderators: infograf768, General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
sirbal
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 23, 2011 5:03 pm

Article's alias transliteration doesn't work

Post by sirbal » Wed Mar 23, 2011 5:42 pm

Article's alias automatic creation (by J1.6 core) works good only for Unicode aliases (UTF-8), instead of transliteration of cyrillic characters (like "7-pervoe-intervyu" ) alias automatically is set to date (like "32-2011-03-22-13-58-48").
Strange enough that 2 days before I had no such problem, everything was working fine; no changes in the php-code were performed.
Is there any solution of this problem (without SH404 etc.)?

Global Config:
Search Engine Friendly URLs - Yes
Use Apache mod_rewrite - Yes
Adds Suffix to URL - No
Unicode Aliases - No

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18803
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Article's alias transliteration doesn't work

Post by infograf768 » Thu Mar 24, 2011 6:36 am

If your language pack does not include the right function to change Cyrillic to ASCII, this is normal behavior.
1.6 default transliteration, although covering a larger scope than 1.5 (it includes now latin_2), does not include Cyrillic.

исправление
would give
2011-03-24-06-14-57

which a function like this one in xx-XX.localise.php (where xx-XX is the language used when editing)
http://docs.joomla.org/Making_a_Languag ... is_desired
icppablehie

Therefore, if you are using English as your default language, just add the function in en-GB.localise.php and save the file as UTF8 NO BOM.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group

sirbal
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Wed Mar 23, 2011 5:03 pm

Re: Article's alias transliteration doesn't work

Post by sirbal » Thu Mar 24, 2011 7:03 am

Thank you for reply, it helped me found the solution :)
Cyrillic transliteration works only if Russian is default language not only for the front-end, but for admin panel as well.

User avatar
infograf768
Joomla! Master
Joomla! Master
Posts: 18803
Joined: Fri Aug 12, 2005 3:47 pm
Location: **Translation Matters**

Re: Article's alias transliteration doesn't work

Post by infograf768 » Thu Mar 24, 2011 7:21 am

As I suggested, just add the function in the other languages installed in your site will solve all.
Jean-Marie Simonet / infograf · http://www.info-graf.fr
---------------------------------
ex-Joomla Translation Coordination Team • ex-Joomla! Production Working Group


Locked

Return to “Language - Joomla! 2.5”