Hi
Is there a way to change the labels and texts of built in pod's?
For example
I want to change simple chat pod "Send" button label, with "Submit"
Thanks
Solved! Go to Solution.
Views
Replies
Total Likes
Also verify that you have changed in every place the label to be safe on this.
And subclassing is just like you subclass a class in OOP. All our methods are protected, so you won't have any problem. You shouldn't ideally change in the source file itself rather subclass and change it there.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Hi,
One quick way is to subsclass the pods and change whichever strings you want.
A better solution requiring more effort would be to have your language xml file defining the strings. The infrastructure of localization already exists in LCCS ( you can see strings are mostly called using localization manager's getInstance function). See the source code of player 9 to find Localization classes in com.adobe.rtc.coreUI.localization . But we don't support them. In case you want to write your own language xml files to define localized strings, you should be good. Check on web how you can do localization for a flex app in general.
Hope this helps
Thanks
Hironmay Basu
Thanks for your reply Hironmay,
I don't know subsclassing the pods could you please tell me how can i do that.
For example I'm editing the string "Start My Camera" in WebCamera.as file but when the file is compiled there is no change in this label.
Thanks
Views
Replies
Total Likes
Hi,
Can you double check the way you are setting the string? Can you confirm that you are not using the _lm.getString method
_startStopBtn.label = _lm.getString("Custom Start My Camera label"); and the right way should be
_startStopBtn.label = "Custom Start My Camera"
Thanks
Arun
Also verify that you have changed in every place the label to be safe on this.
And subclassing is just like you subclass a class in OOP. All our methods are protected, so you won't have any problem. You shouldn't ideally change in the source file itself rather subclass and change it there.
Thanks
Hironmay Basu
Views
Replies
Total Likes
Thanks a lot
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies