Adding additional language to uddeIM

1 year 6 months ago #288219 by Hypsilon
Hello,

I have an issue trying to use three languages in the uddeIM languages. We have English and Russian working completely fine, but for some reason, it does not want to run on Estonian.

I have translated a custom file from English to Estonian both com_uddeim language folders as UTF-8 under the name of estonian.php. Additionaly I added to the script:
case "et":	
			$config->charset = 'ISO-8859-15';
			$config->mailcharset = 'ISO-8859-15';
			break;
The ISO was specified due to our special characters in our language: üõöä. That "et" part i tried both as "et" and "ee". Neither times it did not work.

Can someone help please?
1 year 5 months ago #288256 by slabbi
You have to add the country code also to uddeimlibXX.php.

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
1 year 5 months ago - 1 year 5 months ago #288290 by Hypsilon
Hello,

Thank you, didn't know they are hidden over there too.
But I ran to another problem. When I added the code lines to the appropriate libraries:
case "et":		$temp = "estonian";			break;
// case "et-EE":	$temp = "estonian";			break;

The website wont open and says unexpected Translation:
0 - syntax error, unexpected 'Translation' (T_STRING), expecting ',' or ')'
1 year 5 months ago #288299 by slabbi
There seems to be an typo in your language file. Please also ensure that it is UTF8 (without BOM) encoded.

uddeIM & uddePF Development
Google+ profile: plus.google.com/u/0/b/117839921924782901705/
CB Language Workgroup
CB 3rd Party Developer
1 year 5 months ago #288316 by Hypsilon
Hello,

Thank you, the file was changed for some reason to BOM encoded, so it didn't work. But now its fine. Thank you very much.
Moderators: beatnantslabbikrileon
Time to create page: 0.167 seconds
Facebook Twitter Google LinkedIn