Author Topic: Localization and JavaScript  (Read 2813 times)

Offline ihkawiss

  • Jr. Member
  • **
  • Posts: 15
Localization and JavaScript
« on: August 08, 2013, 03:30:47 AM »
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

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,880
    • SKaero - Custom Roundcube development
Re: Localization and JavaScript
« Reply #1 on: August 08, 2013, 11:31:55 AM »
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