[AC-5988] Accessibility: properties localization
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Resolved |
Resolution | Invalid |
Resolution Date | 2018-10-23T14:41:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | accessibility |
Reporter | Sergey Volkov |
Assignee | Shak Hossain |
Created | 2018-10-23T14:24:35.000+0000 |
Updated | 2018-10-23T14:41:11.000+0000 |
Description
Currently in SDK we have properties on some view types which could be used for auto-localization, e.g. "Button.titleid", "TextField.hinttextid" and "AlertDialog.messageid".
For a11y properties there are only "accessibilityHint" and "accessibilityLabel" (also "accessibilityValue", but it could be a number).
It's possible to set correctly localized values on runtime using "L('some_id')", but will be much easier if there are was additional properties as described above.
Hi [~s.volkov], as discussed on Slack you can use the
L()
method in tss too, which should solve the issue you're having.