Adding additional language to uddeIM

7 years 4 months ago #288219 by Hypsilon
Adding additional language to uddeIM was created 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?

Please Log in to join the conversation.

7 years 4 months ago #288256 by slabbi
Replied by slabbi on topic Adding additional language to uddeIM
You have to add the country code also to uddeimlibXX.php.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

7 years 4 months ago - 7 years 4 months ago #288290 by Hypsilon
Replied by Hypsilon on topic Adding additional language to uddeIM
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 ')'

Please Log in to join the conversation.

7 years 4 months ago #288299 by slabbi
Replied by slabbi on topic Adding additional language to uddeIM
There seems to be an typo in your language file. Please also ensure that it is UTF8 (without BOM) encoded.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in to join the conversation.

7 years 4 months ago #288316 by Hypsilon
Replied by Hypsilon on topic Adding additional language to uddeIM
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.

Please Log in to join the conversation.

Moderators: beatnantslabbikrileon
Time to create page: 0.190 seconds

Facebook Twitter LinkedIn