Is it ok if I update the Swedish translation?
You can pick up the result at http://dl.dropbox.com/u/23975858/graphene%20sv_SE.zip.
Please let me know when I can delete the file from this temporary location.
I’ve downloaded the language files, thanks!
Would you like to be involved in translating the theme into Swedish for future updates? If you do, join the Graphene Theme Developers, Testers, and Translators group, and you’ll receive notifications when a new development version is available for testing/translation.
Also, let me know your website’s URL so that I can link back to you in the theme’s page.
I’ve joined the group, thanks.
I liked this theme, so I think I’ll migrate a couple of sites I’m dealing with, to Graphene.
I’ll keep an eye on the Swedish translation. (I could follow up on the Russian, too, unless it’s already well maintained.)
Oh, for the future, whenever there’s a number involved, rather than having the logic in your code to split between /one/ vs. /more than one/, throw this task at ngettext instead. This would allow correct handling of plurals in Russian and several other languages, where plurals are handled in a more complex way than in English and other Germanic and Roman languages.
printf (ngettext ("one file removed", "%d files removed", n), n);
(It looks a bit funny, since you need to send the numeral to both printf and ngettext.)
There are some more pecularities to be found in the manual.
Do you happen to know if Graphene integrates well with BuddyPress and Qtranslate?
My website is http://tobi3.se/Admin
I actually used
ngettext()initially when I first prepared the theme for public release. I remember I encountered some problem getting it to work properly with WordPress, POEdit, and the GNU gettext package. It’s the
comments_number()function which uses
% commentsinstead of
Anyways, I’ll take a look at it again.
Currently, there’s no integration effort yet between Graphene and BuddyPress, and as far as I know Qtranslate uses shortcodes to mark contents in different languages, so it should work. The only multilingual plugin that’s confirmed compatible with Graphene so far is WPML. I am now currently working on bbPress 2.0 (plugin version) compatibility, for the next update.
I’m not sure how up to date is the Russian translation, though. If you’re willing to help maintain it, you’re welcomed to do so 🙂
When I first encountered a couple of ngettext entries in poedit, it took some time to find out what I was expected to do, so you have my full understanding. Every time I adapt a package to Swedish, I’m so grateful that the plurals are roughly handled the same way as in English. (as long as you don’t hardcode an appended ‘s’ to the end of the word.)
I’ll check how well BuddyPress and Graphene mix together. Today, on ljusetkommer.se I simply use twenty-ten with the BP-compatibility pack. So I’ll try to modify Graphene with the same package.
I’ll have a look at the Russian translation of Graphene, as well, at least to check the current status.
Viewing 10 posts - 1 through 10 (of 12 total)
- You must be logged in to reply to this topic.