How to translate custom lists with the Translator app ?

665 views
Skip to first unread message

yves....@gmail.com

unread,
Nov 23, 2015, 7:35:04 AM11/23/15
to Fujitsu RunMyProcess Developer Community
Hello,

When using the translator App, the Designer dictionnary doesn't shwo any entry for the custom lists used by the widgets of the selected webinterface.
How is it possible to translate custom list labels ?

Regards
Yves

Bidisha Das

unread,
Nov 23, 2015, 7:55:10 AM11/23/15
to suppor...@runmyprocess.com
Hi,
Sorry,but you can't translate Custom Lists using App Translator.So,better create a new one with your language.


Thanks & Regards
Bidisha

freal...@gmail.com

unread,
Nov 23, 2015, 8:00:03 AM11/23/15
to Fujitsu RunMyProcess Developer Community
Hi.
And the dashboard where are the state of orders is it possible to translate?

yves....@gmail.com

unread,
Nov 25, 2015, 3:44:19 AM11/25/15
to Fujitsu RunMyProcess Developer Community
Hello Bidisha,
It means that I have to create as many widgets as langages and then to manage their visibility based on langage used ??? It looks very complicated

Can you elaborate please how you handle this.

Regards
Yves
>

Bidisha Das

unread,
Nov 29, 2015, 3:26:47 PM11/29/15
to suppor...@runmyprocess.com
Hi,
Sorry,but for custom lists,you need to manage in this way.


Thanks & Regards
Bidisha

klam...@gpartner.eu

unread,
Dec 24, 2015, 10:27:50 AM12/24/15
to Fujitsu RunMyProcess Developer Community, yves....@gmail.com
Actually, it is also possible to create a translated variable based custom list, thanks to this freemarker function :

http://docs.runmyprocess.com/API_Reference/FM/Application.html#i18n

Here an example :

function rmp_set_vb_list_value(vb_name,vb_value) {
var a = new RMP_List();
a.fromArray(vb_value);
RMPApplication.setList(vb_name,a);
return true;
}

var list_content = [
{"label":${P_quoted(i18n('statut_brouillon', 'Brouillon'))},"value":"Brouillon"},
{"label":${P_quoted(i18n('statut_soumis', 'Soumis'))},"value":"Soumis"}
];
rmp_set_vb_list_value("vb_list",list_content);


(see also http://docs.runmyprocess.com/Developer_Guide/Web_Interface/Design/Dynamic_List).

Then this list will generate two more entries in the app translator menu, one named "Brouillon", the other "Soumis".

Regards,

Kevin


Reply all
Reply to author
Forward
0 new messages