GNOME Bugzilla – Bug 713827
Prep Geary for l10n.gnome.org
Last modified: 2014-01-10 19:14:44 UTC
---- Reported by jim@yorba.org 2013-11-20 11:36:00 -0800 ---- Original Redmine bug id: 7707 Original URL: http://redmine.yorba.org/issues/7707 Searchable id: yorba-bug-7707 Original author: Jim Nelson Original description: We've been informed that Geary is not ready to be added to i18n.gnome.org, GNOME's translation system. The blocker appears to be that we don't use a standard intltool setup. More information at: https://wiki.gnome.org/TranslationProject/DevGuidelines https://people.gnome.org/~malcolm/i18n/ We should use the gnome-i18n mailing list if we have questions. ---- Additional Comments From geary-maint@gnome.bugs 2013-11-20 16:18:00 -0800 ---- ### History #### #1 Updated by Jim Nelson about 24 hours ago * **Description** updated (diff) #### #2 Updated by Jim Nelson about 19 hours ago Piotr Drąg says that > l10n.gnome.org basically needs to be able to run "intltool-update --pot" to generate a pot file. Unlike Transifex, it prefers to not have an already generated pot file in the repository. --- Bug imported by chaz@yorba.org 2013-11-21 20:23 UTC --- This bug was previously known as _bug_ 7707 at http://redmine.yorba.org/show_bug.cgi?id=7707 Unknown milestone "unknown in product geary. Setting to default milestone for this product, "---". Setting qa contact to the default for this product. This bug either had no qa contact or an invalid one. Resolution set on an open status. Dropping resolution
[changing bug summary as you probably want to get listed on l10n.gnome.org ]
bug #713018 is introducing a new .interface file that needs to be included in the .pot file.
I think code-wise this is more or less done. See the branch at wip/l10n-713827. Some notes: * We now don't deal in the .pot file at all. Translators can generate it with intltool-update --pot. It won't have the correct project or version. Looking at .po files in other projects, this doesn't seem to be a problem. * We don't "fix" the .po files anymore as part of the build process. We're assuming the translators will fully own the .po files, keep them up to date, etc. * We no longer have to duplicate the .desktop strings in the source. * We unfortunately have to list every source file twice: once as always in the cmake files, and now again in the POTFILES.in file. It'd be nice to have a way to generate this, but I couldn't (easily) get cmake to help here. Gitg includes a script that'll automatically pull in appropriate files from the git listing... perhaps we can do something with that. Either way, we still need to include POTFILES.in, generated or not, in git. I've sent an email to the gnome-i18n mailing list asking what else needs to be done to get Geary on l10n.gnome.org.
The changes landed in master in commit:1932f46. I'll go ahead and close this ticket. I'm still talking to Piotr Drąg on the gnome-i18n mailing list about next steps in getting Geary on l10n.gnome.org.