[ALOY-853] Internationalization in markup required cause of creation only property
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | 2013 Sprint 20 |
Fix Version/s | n/a |
Components | n/a |
Labels | studio3 |
Reporter | Markus |
Assignee | Unknown |
Created | 2013-10-14T07:45:09.000+0000 |
Updated | 2018-03-07T22:25:59.000+0000 |
Description
I want to create an alert dialog in xml with internationalized buttons.
The problem is that the buttons are creation only, that means I can't use tss styling.
I cannot use L() in xml between tags, ""L('test')" " will create a button with text L('test')
<AlertDialog id="dialog" title="Delete"
message="Delete" cancel="1">
<!-- The ButtonNames tag sets the buttonNames property. -->
<ButtonNames>
<ButtonName>"L('test')"</ButtonName>
</ButtonNames>-->
</AlertDialog>
Yes I can do this in the controller but I think this
should be an alloy feature.
A general solution for all creation only elements would be great.
Just ran into this issue as well. Please prioritise this. Not being able to do internationalisation on buttons is silly. Looks weird to our customers.
+1. I have just ran to the same issue as well.