priyadi / roundcube-converse.js-xmpp-plugin

XMPP plugin for Roundcube Webmail based on converse.js
48 stars 18 forks source link

Translation #33

Closed aacunha closed 7 years ago

aacunha commented 10 years ago

My installation of plugin works fine, but only in english. The translation on js/converse.min.js dont loads.

My roundcube/config/main.inc.php: $rcmail_config['language'] = pt_BR;

Roundcube version: 0.9.5

captura de tela de 2014-07-24 17 23 59

priyadi commented 9 years ago

For some reason this is not working only with pt_BR. With other locales, it is fine.

priyadi commented 9 years ago

As far as I tell, this plugin does everything correctly. I suspect the problem might be upstream. I suggest you contact maintainer of pt_BR locale directly to see if he is able to make it work. His email address is in the translation files.

https://github.com/jcbrand/converse.js/tree/master/locale/pt_BR/LC_MESSAGES

aacunha commented 9 years ago

After update to the last version of plugin, i got this error:

[Thu Sep 18 15:45:58 2014] [error] [client 10.30.5.16] PHP Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/roundcubemail-0.9.5/plugins/converse/converse.php on line 60

priyadi commented 9 years ago

There was a wrong invocation of _config_get() and there's a few new config variables. Please try v0.8.1.1 tag I've just created.

dashlan commented 7 years ago

Hi, I am having the same problem. It´s only working for language EN_US. How did you solve the problem ?

dashlan commented 7 years ago

Sorry, I didn´t see fabiodepin correction. It was a simple solution, just replace the word "pt-br" to "pt_BR" on file js/converse.min.js

aacunha commented 7 years ago

@dashlan thanks! Works fine now!