locked
how to localize hard coded strings in c# & xaml apps ?

    Question

  • i had a split app built with c# & xaml , it contains several hard coded strings like below

     String ITEM_CONTENT = String.Format("Item Content: {0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}\n\n{0}",
                            "Curabitur class aliquam vestibulum nam curae maecenas donec dis praesent accumsan bibendum pellen");

                var group1 = new SampleDataGroup("Group-1",
                        "Group Title: 1",
                        "Group Subtitle: 1",
                        "Assets/DarkGray.png",
                        "Group Description: Lorem ipsum dolor sit amet, consectetur adipiscing el");

    how to localize these ITEM_CONTENT , group1,Group Title: 1, etc........ 

    please resolve my issue.

    Monday, June 2, 2014 2:14 PM

Answers

All replies