VirtualRadar.Localisation Namespace |
Class | Description | |
---|---|---|
Localise |
A static wrapper around an instance of Localiser for the Virtual Radar Server's application
strings class.
| |
LocalisedCategoryAttribute |
A localisable version of the ComponentModel CategoryAttribute.
| |
LocalisedDescriptionAttribute |
A localisable version of the ComponentModel DescriptionAttribute.
| |
LocalisedDisplayNameAttribute |
A localisable version of the ComponentModel DisplayNameAttribute.
| |
LocalisedEnumConverterT |
A base for EnumConverters that can translate between an enum and a localised string.
| |
LocalisedStringsMap |
A class that uses reflection to find all of the localised strings we've got set up in a generated string map class.
| |
Localiser |
A class that can localise Windows Forms elements with strings taken from a strings resource file.
| |
ResourceStrings |
A class that can extract strings from a resource for a specific culture info.
|
.NET has a mechanism for localising strings in forms but it does not lend itself to having a centralised set of strings for the entire application that are shared amongst all of the libraries. To make it easier to farm the string table out for translation all of the localised strings were concentrated into this one library and a static class, Localise, was written to perform the localisation of strings on forms. A public class, Localiser, can be used by plugins to perform the same duties for their translations.
If you want to test your alternate cultures you can start Virtual Radar Server at the command line with the -culture switch. For example, to force Virtual Radar Server to use the German culture settings:
VirtualRadar.exe -culture:de-DE