[i18n] Changing en phrases

Jan Schneider jan at horde.org
Wed Feb 10 08:53:38 UTC 2016


Zitat von Aaron Paetznick <aaronp at critd.com>:

> I'm new to gettext and working with the Horde locale files, and I  
> want to change a couple of the English phrases in Horde. I want to  
> work within the system to do it, and I want to make sure that the  
> custom phrases won't be overwritten by a future Horde update. I've  
> read the online translations documentation  
> <http://www.horde.org/apps/horde/docs/TRANSLATIONS#extending-existent-translations>, but I haven't had much luck yet. I had originally submitted an enhancement ticket <https://bugs.horde.org/ticket/14230> for this, but was referred to this mailing list. Please let me know if this isn't the proper forum to discuss this sort of  
> request.
>
> So far I've tried running "horde-translation update -m horde -l en",  
> and it reported:
>
> ---------------------------
> Horde translation generator
> ---------------------------
> Loading libraries...
> [   OK   ] Console_Getopt found.
> [   OK   ] Console_Table found.
> [   OK   ] File_Find found.
>
> Searching gettext binaries...
> [   OK   ] gettext found: /usr/bin/gettext
> [   OK   ] msgattrib found: /usr/bin/msgattrib
> [   OK   ] msgcat found: /usr/bin/msgcat
> [   OK   ] msgcomm found: /usr/bin/msgcomm
> [   OK   ] msgfmt found: /usr/bin/msgfmt
> [   OK   ] msginit found: /usr/bin/msginit
> [   OK   ] msgmerge found: /usr/bin/msgmerge
> [   OK   ] xgettext found: /usr/bin/xgettext
>
> [   OK   ] gettext version: 0.17
>
> Searching Horde modules in /pathname/lib/..
> Found modules: horde, nag, admin, timeobjects, kronolith, mnemo,  
> imp, turba, ingo
>
> Extracting from horde... not changed
>
> Cleaning up PO files for module horde...
> /pathname/lib/../locale/en/LC_MESSAGES/horde.po
> Skipped...
>
> Merging translation for module horde...
> Skipped...
>
>
> I would have expected this to create files for me to edit, but the  
> horde/locale/en directory is still empty (other than the help.xml  
> file). I've also tried a similar command for imp, with similar  
> results.
>
> For the record, I've installed my horde and apps individually, i.e.  
> I did not install the groupware or groupware webmail editions. My  
> Horde/IMP is working just fine in every other way. Am I missing some  
> of the source translation files, or maybe they also need to be  
> manually pear-installed? Can anybody provide any pointers that might  
> help me get started?
>
>
> --Aaron

Beside what Jens wrote, you need to use the "init" command of  
horde-translation.

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the i18n mailing list