- Compatible XF Versions
- 2.0
This add-on will romanize URL character for XF2.
Note: Testing showed that you need to disable the "Romanize url" option in order to make use of this add-on. It would be kind of unnecessary otherwise.
As you see below, username characters is not romanization before this add-on.
After the instalation,
For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/Turkish Friendly Link/listener.php file
The first arrays are for lowercase letters (mapLower ) and the second set are for uppercase letters (mapUpper )
Write the letters you want to be Romanized to the right like you see above.
Special thanks to xfrocks.
This add-on was created with reference to Vietnamese Friendly Link.
- Works everywhere (forums, threads, etc.), with minimal conflict.
Note: Testing showed that you need to disable the "Romanize url" option in order to make use of this add-on. It would be kind of unnecessary otherwise.
As you see below, username characters is not romanization before this add-on.
After the instalation,
For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/Turkish Friendly Link/listener.php file
PHP:
static $mapLower = array(
'o' => array('ö'),
'c' => array('ç'),
'g' => array('ğ'),
's' => array('ş'),
'u' => array('ü'),
'a' => array('â'),
'e' => array('ê'),
'i' => array('ı', 'î', 'é'),
);
static $mapUpper = array(
'O' => array('Ö'),
'c' => array('Ç'),
'g' => array('Ğ'),
's' => array('Ş'),
'u' => array('Ü'),
'a' => array('Â'),
'e' => array('Ê'),
'i' => array('I', 'Î', 'Ê'),
);
Write the letters you want to be Romanized to the right like you see above.
Special thanks to xfrocks.
This add-on was created with reference to Vietnamese Friendly Link.