Appian Community
Site
Search
Sign In/Register
Site
Search
User
DISCUSS
LEARN
SUCCESS
SUPPORT
Documentation
AppMarket
More
Cancel
I'm looking for ...
State
Not Answered
Replies
4 replies
Subscribers
5 subscribers
Views
2441 views
Users
0 members are here
Share
More
Cancel
Related Discussions
Home
»
Discussions
»
Plug-Ins
Having some limited success with the Internationalization for Forms and Dashboar
Nicholas Wurster
over 10 years ago
Having some limited success with the Internationalization for Forms and Dashboards plugin. Installed it and works fine with <bundle>_en_US just fine and switching locale for <bundle>_fr_CA is good too.
From the plugin docs it states: "***translateForUser("john.doe", "a.b.c", "title") - ... then the plugin will look for the property file c_en_US.properties ... If this file is not foud then it will look for c_en.properties in the same directory. If this is not found it will look for c.properties. ***"
Question 1: If it doesn't find the key in the <bundle>_en_US will it stop there or will it try the other resource files (eg. <bundle>_en then finally <bundle>)?
From the plugin docs it states: "***Note you cannot test the translate function in the rules testing interface as the loggedinuser() function only works on dashboads and in processes/forms. You can hard code a user name for translateforuser for testing purposes.***"
Question 2: Since the rules t...
OriginalPostID-130698
OriginalPostID-130698
Discussion posts and replies are publicly visible
Parents
0
harshav
over 10 years ago
I tried this like this : the user locale is en_US and i have 2 bundles for c.en_US and c.en files, I have declared in my bundle in c.en_US like Submit=Submit and in c.en Sumit=Submit. Now in my Form i am stating it like translate("c.en_US","sumit"). So it should check for c.en_US file and then c.en file.Now the c.en file contains sumit. but it is returning me like ???Sumit??? any suggestions please or am i doing it wrong anywhere
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Reply
0
harshav
over 10 years ago
I tried this like this : the user locale is en_US and i have 2 bundles for c.en_US and c.en files, I have declared in my bundle in c.en_US like Submit=Submit and in c.en Sumit=Submit. Now in my Form i am stating it like translate("c.en_US","sumit"). So it should check for c.en_US file and then c.en file.Now the c.en file contains sumit. but it is returning me like ???Sumit??? any suggestions please or am i doing it wrong anywhere
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
Children
No Data