[TIMOB-25084] Support localized string and model attribute together in binding
GitHub Issue
n/a
Type
Improvement
Priority
n/a
Status
Open
Resolution
Unresolved
Affected Version/s
n/a
Fix Version/s
n/a
Components
Android
Labels
alloy, bindings, feature
Reporter
Mark Boyer
Assignee
Unknown
Created
2017-08-10T15:47:55.000+0000
Updated
2018-02-28T19:55:36.000+0000
Description
Be able to concatenate a localized string with a model attribute. According to the documentation, something the following is possible (and works as expected):
However, the hardcoded text, in the example "by", cannot be replaced with a localized string. As in:
In this case, the function text (L('by')) is output verbatim rather than being resolved.
Hello!
I tested this issue and it's a valid improvement. Localized string with a model attribute is not working in a level text. Please see the following code. First, localized string is not working but the second and third one is working. Please see the attachment image and the full code.
Testing Environment
Ti SDK 6.1.2
Platform: iOS, Android both
Hello! I tested this issue and it's a valid improvement. Localized string with a model attribute is not working in a level text. Please see the following code. First, localized string is not working but the second and third one is working. Please see the attachment image and the full code. Testing Environment Ti SDK 6.1.2 Platform: iOS, Android both
Thanks