if you just need one language then you can change directly "Map Default" etc. to whatever you want. For multilingual applications it should be defined as
configList:{'default': _p("Map Default"), 'dev': _p("Map Dev") }, with the respective translations in the language files. On 19/10/2012 09:16, Gillen wrote: > Hi, > I have a problem with some translations in the mapselect plugin in my > pmapper application. > I want to translate the configList facts that appears in the > js_config.php file. > > Example: > > PM.Plugin.Mapselect.settings = { > displayText:_p('Select Theme'), > configList:{'default':"Map Default", > 'dev':"Map Dev" > }, > appendToDiv:".map-top-bar", > cssDiv:{'position':'absolute', right:'60px'}, > cssSelect:{'margin-left':'5px'}, > resetSession:'groups' > }; > > I would like to translate "Map Default" and "Map Dev" to another > languages. I have tried with the language translation files but it´s not > working. It´s possible to translate using another way? > > Thanks! > > > -- > > > ------------------------------------------------------------------------------ > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_sfd2d_oct > _______________________________________________ > pmapper-users mailing list > pmapper-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users