On Tue, Nov 15, 2011 at 12:24 AM, Bogdan Marinov <[email protected]> wrote: > Hello to all. > > As you may have noticed if you follow the code committed to the trunk > branch, there is currently an effort to make plug-ins translatable. > Alex Wolf is doing the initial work and I am trying to review his > changes and fix the stuff they break. > > Unfortunately, internationalization is not as easy as adding calls to > q_() to the code and the necessary files to POTFILES.IN. In a lot of > cases, text is used in a way that is not translation-friendly, and the > plug-in itself hasn't been written with changeable languages in mind. > > The most common bug is that a plug-in's strings are initialized with > the correct string at start-up, but they are not updated when the > language is changed at runtime. > > There are also a lot of strings that have an unclear meaning outside > of context, so adding "// TRANSLATORS:" comments is necessary. > > The progress so far: > - The only major plug-in that has been (almost) completely translated > and fixed is Satellites. (Compass Marks and Angle Measure were > trivial.) > > - Alexander Wolf has also done some initial translation-enabling work > on the Solar System Editor, TUI, Time Zone and Telescope Control. > Oculars will be translated after my branch is merged. > > - I just had a look at Text User Interface. There's quite a lot of > work to be done on it, even if we ignore the fact that it's not > complete yet. > > More progress reports are to follow.
To enable dynamic re-translation of the TUI, I had to add automatic numbering of the TuiNode-s: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5023 A lot of the strings were made common with other strings in Stellarium to reduce translator work: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5024 Alex Wolf spotted a commented-out line with a TODO from before 0.10.2 and enabled it: :) http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5027 Two long-standing issues with the "Get star catalog" button were fixed: one with re-translation, the other with skipping the last catalog: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5020 http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5021 http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5022 The Time Zone plug-in had been also adapted for dynamic re-translation. Some changes to the GUI were necessary for better internationalization: http://bazaar.launchpad.net/~stellarium/stellarium/trunk/revision/5028 The next in the line is the Solar System Editor, followed by Telescope Control. Oculars is left for after the merge. Regards, Bogdan Marinov ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Stellarium-pubdevel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stellarium-pubdevel
