joomla-projects / com_localise

forked version of the original com_localise for experimental purposes
GNU General Public License v2.0
24 stars 36 forks source link

Problem with transliteration from Bulgarian to Latin #339

Open omega20st opened 4 years ago

omega20st commented 4 years ago

Steps to reproduce the issue

Need help with transliteration. When unicode is off and title of article is in cyrillic then url take only id number of the article, other part im cyrillif miseed> When unicode is on url take cyrillic title in cyrillic. Transliteration dont work. Need help please

Expected result

Actual result

System information (as much as possible)

Additional comments

infograf768 commented 4 years ago

@omega20st Joomla version? If the language does not contain a custom transliterate method in the xx-XX.localise.php file, then it is a normal behavior in J3. BTW it is not the id of the article, but the date which is used as alias. This is solved in J4 where one does not need the transliterate method.

Here is the transliteration method we use for French (fr-FR). It transliterate cyrillic. You can copy the method in the file and paste it in the localise.php of your language.

fr-FR.localise.php.zip

infograf768 commented 4 years ago

Note: Bulgarian 3.6.5.2 language pack DOES contain a transliterate method for Cyrillic in bg-BG.localise.php.

Are you using another language to work on your site? If yes, then add the method in that language localise.php