Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Include the slug transliteration plugin into the core of GS
#10
I'd suggest to rather use the 3-parameter function strtr(string, from, to), then you just have to include two strings TRANSLIT_FROM and TRANSLIT_TO in the language files and don't need to define an extra array.
This makes customization much easier and uses the standard i18n features of GetSimple:

Code:
...
'TRANSLIT_FROM' => 'äöüÄÖÜ',
'TRANSLIT_TO' => 'aouAOU',
...
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.


Messages In This Thread
Include the slug transliteration plugin into the core of GS - by mvlcek - 2011-05-31, 14:48:28



Users browsing this thread: 2 Guest(s)