Lexa

WPF, C#, Objective C and a little Math

Generate localisation .rexs files from excel file with VBA macros

I localized my WPF application using xaml markup extension (something like this). For each language one resx file is required. This was difficult to support many resx files syncronised, so I made a little VBA script for an excel file containing all translations. Now it is much easier to maintain strings – just modify excel file and save – resx files will be generated when file is saved.
Excel
First column contains ids of text strings, other columns contains translations. Here is this useful macros: Strings


Categorised as: UI, WPF


Leave a Reply

Your email address will not be published. Required fields are marked *