Uploaded image for project: 'Alloy'
  1. Alloy
  2. ALOY-853

Internationalization in markup required cause of creation only property

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: 2013 Sprint 20
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:

      Titanium 3.1.3

      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, "<ButtonName>"L('test')"</ButtonName>" 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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                m.bahl Markus
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Backbone Issue Sync

                  • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                    Git Integration