I’ve been working on the next version of the BootMii Configuration editor over the last couple of days in order to introduce internationalisation into the application.
This is now almost completely working, with the language strings being driven from an XML file that can be modified to add new translations/language into the application.
The langauge file currently looks like the following:
{!{code}!}czozNzE6XCIKPD94bWwgdmVyc2lvbj1cIjEuMFwiIGVuY29kaW5nPVwiVVRGLThcIj8+CjxsYW5ndWFnZXM+Cgk8YXZhaWxhYmxlPgoJCTxse1smKiZdfWFuZ3VhZ2UgZGVzY3JpcHRpb249XCJFbmdsaXNoXCIgY29kZT1cImVuXCIvPgoJCTxsYW5ndWFnZSBkZXNjcmlwdGlvbj1cIkVzcGHDsW9sXCJ7WyYqJl19IGNvZGU9XCJlc1wiLz4KCTwvYXZhaWxhYmxlPgo8c2VsZWN0ZWQgY29kZT1cImVuXCIvPgoJPGxhbmd1YWdlLXN0cmluZ3M+CgkJPGVudHJ7WyYqJl19eSBjb2RlPVwibW0xXCIgZW49XCJWaWRlbzpcIiBlcz1cIk1vZG8gZGUgVmlkZW86XCIvPgoJCTxlbnRyeSBjb2RlPVwibW0yXCIgZW49XCJBdXRvYntbJiomXX1vb3Q6XCIgZXM9XCJJbmljaW8gQXV0b23DoXRpY286XCIvPgoJCS4uLi4KCTwvbGFuZ3VhZ2Utc3RyaW5ncz4KPC9sYW5ndWFnZXM+ClwiO3tbJiomXX0={!{/code}!}
The selected language can be found in the selected node, though I will be making the language selectable from a settings menu within the editor (when you press the home button)
Currently I have the majority of the application translated into Spanish thanks to Mokona Modoki.
If you want to add a new language, add in the available languages section, and add an attribute with the language code you added into each of the entries, then it should magically appear!, e.g.
<language description="Francais" code="fr"/>
...
<entry code="mm1" en="Video:" es="Modo de Video:" fr="Mode visuel"/>
...
I’ll aim to release this by Saturday 4th July assuming it’s all ready and complete.