[XD] Turkish Friendly URL

xF2 Add-on [XD] Turkish Friendly URL 2.0.3

No permission to download
Compatible XF Versions
  1. 2.0
  2. 2.1
Change URL structure for Turkish characters.
  • Works everywhere (forums, threads, etc.), with minimal conflict.
Warnings

  • Don't upgrade this add-on with old versions (File directories have been changed.)
  • Compatible XF versions is 2.x+
Before install be sure, Use full friendly URLs option is enabled.



1543155375161-png.188984





1543157453678-png.188989




1543157485204-png.188990





1543156653161-png.188987





1543156767629-png.188988




For those who have similar demands regarding url romanization simply modify it to your own need by modifying the src/addons/XDinc/FriendlyURL/Listener.php file.

Code:
 $mapLower = [
            'o' => ['ö'],
            'c' => ['ç'],
            'g' => ['ğ'],
            's' => ['ş'],
            'u' => ['ü'],
            'a' => ['â'],
            'e' => ['ê'],
            'i' => ['ı'],
            'i' => ['î'],
            'i' => ['ê'],
            '-' => ['.'],
            '_' => ['='],
            '_' => ['?'],
            '_' => ['*'],
            '_' => [','],
            '_' => [';'],
            '_' => [')'],
            '_' => ['('],
            '_' => ['{'],
            '_' => ['}'],
            '_' => ['['],
            '_' => [']'],
            '_' => ['!'],
            '_' => ['+'],
            '_' => ['%'],
            '_' => ['&'],
            '_' => ['#'],
            '_' => ['$'],
            '' => ['̉', '̣', '̃', '̀', '́'],
        ];

        $mapUpper = [
            'O' => ['Ö'],
            'C' => ['Ç'],
            'G' => ['Ğ'],
            'S' => ['Ş'],
            'U' => ['Ü'],
            'A' => ['Â'],
            'E' => ['Ê'],
            'İ' => ['I'],
            'İ' => ['Î'],
            'İ' => ['Ê'],
            '-' => ['.'],
            '_' => ['='],
            '_' => ['?'],
            '_' => ['*'],
            '_' => [','],
            '_' => [';'],
            '_' => [')'],
            '_' => ['('],
            '_' => ['{'],
            '_' => ['}'],
            '_' => ['['],
            '_' => [']'],
            '_' => ['!'],
            '_' => ['+'],
            '_' => ['%'],
            '_' => ['&'],
            '_' => ['#'],
            '_' => ['$'],
            '' => ['̉', '̣', '̃', '̀', '́'],
        ];
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.
Author
AnimeHaxor
Size
14.7 KB
Extension
zip
Downloads
7
Views
1,239
First release
Last update

More resources from AnimeHaxor

Similar resources

XenForo add-on for URL tiếng Việt không dấu -> URL tieng Viet khong dau
0.00 star(s) 0 ratings
Downloads
6
Updated
Custom URL Romanization AnimeHaxor
This add-on will romanize URL character for XF2.
0.00 star(s) 0 ratings
Downloads
6
Updated
0.00 star(s) 0 ratings
Downloads
0
Updated
Limit Slug (URL) Length Admin
Limit the amount of words in the URL
0.00 star(s) 0 ratings
Downloads
2
Updated
Developer-only tooling for testing XF options per-page
0.00 star(s) 0 ratings
Downloads
3
Updated