Comment 4 for bug 1561457

Revision history for this message
GunChleoc (gunchleoc) wrote :

I don't really see what the problem is. Stellarium uses gettext for translation, so all you need to do is replace _("Next update: %1 hours") with ngettext("Next update: %1 hour", "Next update: %1 hours"). Done - unless you need to interface between C/C++ and a scripting language, then you will also need to pipe the command though. You won't have to implement the plural form rules yourself though!

How embarrassing would you find it it the English language user interface was full of grammar errors.e.g. how would you like it if the English string was replaced by "%1 hour"? Wouldn't you be itching to correct it? I have also seen a number of plural-form workarounds for the English source strings. So, English speakers would also get a better user experience out of the use of ngettext.

And if you think that Slavic languages are small, look at how big the territory of the fomer USSR is, and then think about how many people live there. And I'm sure that some people there will be interested in astronomy as well ;)