Yes, that’s true.
- you should create language file because only you know how you need to map characters used in your language to latin characters.
Here is fragment of the file I created for Greek polytonic characters:
// Greek polytonic -> Betacode notation 'url_title_char_768' => "", // ? Combining Grave Accent 'url_title_char_769' => "", // ? Combining Acute Accent 'url_title_char_770' => "", // ? Combining Circumflex Accent 'url_title_char_772' => "", // ? Combining Macron 'url_title_char_774' => "", // ? Combining Breve 'url_title_char_776' => "", // ? Combining Diaeresis 'url_title_char_787' => "", // ? Combining Comma Above 'url_title_char_788' => "", // ? Combining Reversed Comma Above 'url_title_char_834' => "", // ? Combining Greek Perispomeni 'url_title_char_835' => "", // ? Combining Greek Koronis 'url_title_char_836' => "", // ? Combining Greek Dialytika Tonos 'url_title_char_837' => "", // ? Combining Greek Ypogegrammeni 'url_title_char_884' => "", // ? Greek Numeral Sign 'url_title_char_885' => "", // ? Greek Lower Numeral sign 'url_title_char_890' => "", // ? Greek Ypogegrammeni 'url_title_char_894' => "", // ? Greek Question Mark 'url_title_char_900' => "", // ? Greek Tonos 'url_title_char_901' => "", // ? Greek Dialytika Tonos 'url_title_char_902' => "a", // ? Greek Capital Letter Alpha With Tonos 'url_title_char_903' => "", // ? Greek Ano Teleia 'url_title_char_904' => "e", // ? Greek Capital Letter Epsilon With Tonos 'url_title_char_905' => "h", // ? Greek Capital Letter Eta With Tonos 'url_title_char_906' => "i", // ? Greek Capital Letter Iota With Tonos 'url_title_char_908' => "o", // ? Greek Capital Letter Omicron With Tonos 'url_title_char_910' => "u", // ? Greek Capital Letter Upsilon With Tonos 'url_title_char_911' => "w", // ? Greek Capital Letter Omega With Tonos 'url_title_char_912' => "i", // ? Greek Small Letter Iota With Dialytika and Tonos 'url_title_char_913' => "a", // ? Greek Capital Letter Alpha 'url_title_char_914' => "b", // ? Greek Capital Letter Beta 'url_title_char_915' => "g", // ? Greek Capital Letter Gamma 'url_title_char_916' => "d", // ? Greek Capital Letter Delta
To create such file you need to know decimal representation of unicode characters. To find decimal representation go to http://rishida.net/tools/conversion/ . Then edit language file that comes with extension as in example above: Arabic Letter Dahal whose decimal representation is 1676 is being converted in url_titles to latin letter “d” by adding the line in language file
'url_title_char_1676' => "d", // Arabic Letter Dahal
|