Im with problems creating a new language for my site.
I want to add the portuguese language, and I make that work, the problem is that appears the english flag. But the link is working....
Here what I have in XFileConfig.pm file:
Code: Select all
# Language list to show on site
languages => ['english','portuguese','russian','german','french','arabic','turkish','polish','thai','spanish','japan','hungary'],
show_server_stats => '1',
### NEW 1.7 ###
# Start mp3 playing instantly
mp3_mod_autoplay => '',
# Match list between browser language code and language file
# Full list could be found here: http://www.livio.net/main/charset.asp#language
language_codes => {'en.*' => 'english',
'pt' => 'portuguese',
'cs' => 'czech',
'da' => 'danish',
'fr.*' => 'french',
'de.*' => 'german',
'p' => 'polish',
'ru' => 'russian',
'es.*' => 'spanish',
},
Code: Select all
languages => ['english','portuguese'
Code: Select all
languages => ['english','pt'
What am I doing wrong?
Thank you