Elxis CMS Forum
Extensions => Components => Topic started by: xinspirit on March 30, 2012, 08:41:12
-
Hi Forum
I am trying to connect with brazilian:
//Client language. Use "english", "italian", "german", "greek", etc, or leave it empty for auto-detection (recommended)
$iosrc_config['LANG'] = 'brazilian';
But it always appears English. Has someone any idea how to set to Brazilian (Portuguese)?
PS: English and German are working.
-
Hi. You must enable this Language from .htaccess file. Open the file and replace:
This line:
RewriteCond %{QUERY_STRING} !mylang=[arabic|armenian|bosnian|creole|croatian|danish|dutch|english|french|german|greek|hebrew|indonesian|italian|japanese|latvian|lithuanian|persian|polish|romanian|russian|serbian|spanish|srpski|turkish|vietnamese]{2,}
To this one:
RewriteCond %{QUERY_STRING} !mylang=[arabic|armenian|bosnian|brazilian|creole|croatian|danish|dutch|english|french|german|greek|hebrew|indonesian|italian|japanese|latvian|lithuanian|persian|polish|romanian|russian|serbian|spanish|srpski|turkish|vietnamese]{2,}
And finally replace this line (uncomment):
#RewriteRule ^([pt\-BR]{5})/(.*)$ /index.php?mylang=brazilian [QSA,L]
To this :
RewriteRule ^([pt\-BR]{5})/(.*)$ /index.php?mylang=brazilian [QSA,L]
You are now ready to use pt-BR language. ;)
-
Hi,
Thank you for the reply. I changed all but the connector still appears in English.
-
The Brazilian language hasn't been translated for IOSR Connector that why you can see the default one which is the English language.