Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Adding additional language to uddeIM

  • Hypsilon
  • Hypsilon
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 1 month 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:
Code:
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 or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 1 month 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 or Create an account to join the conversation.

  • Hypsilon
  • Hypsilon
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 4 weeks ago - 8 years 4 weeks 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:
Code:
case "et": $temp = "estonian"; break;
Code:
// case "et-EE": $temp = "estonian"; break;

The website wont open and says unexpected Translation:
0 - syntax error, unexpected 'Translation' (T_STRING), expecting ',' or ')'
Last edit: 8 years 4 weeks ago by Hypsilon.

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
8 years 4 weeks 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 or Create an account to join the conversation.

  • Hypsilon
  • Hypsilon
  • OFFLINE
  • Posts: 5
  • Thanks: 0
  • Karma: 0
8 years 3 weeks 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 or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum