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
4 subscribers
Views
2090 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
nicholasw
over 9 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
0
nicholasw
over 9 years ago
...esting interface is used by the logged in administrator, it uses their locale and runs just fine...what is meant by this comment?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
abhi.jana
Appian Employee
over 9 years ago
1. As stated in the description. if the key is not found in the bundle, then it returns "???title???" for the above example.
2. I have tested the same and could not make it work from the Rules interface. Are you using the loggedinuser() to retrieve the username?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
lindat
over 9 years ago
I'm not seeing the translations when logged in as a Basic User; they display when logged in as a System Administrator. Is it necessary to set the security on the Translations Documents folder?
Cancel
Vote Up
0
Vote Down
Sign in to reply
Verify Answer
Cancel
0
harshav
over 8 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