Roundcube Community Forum

 

Localization and JavaScript

Started by ihkawiss, August 08, 2013, 03:30:47 AM

Previous topic - Next topic

ihkawiss

Hello

Since I've changed some things on my custom theme, I need to have localization within JavaScript.

Does roundcube offer some functionality to get labels from server-side (program\localization\some_language)?

Thanks & best regards

ihkawiss

SKaero

You can get localizations using a plugin and pass them to the frontend for use in JS etc. http://trac.roundcube.net/wiki/Doc_Plugins#Internationalization