Re: Changing en phrases
Jens Wahnes <[email protected]> Tue, 9 Feb 2016 22:54:29 +0100
| Newsgroups | gmane.comp.horde.internationalization |
|---|---|
| Organization | Wahnes World |
| Message-ID | <[email protected]> |
--===============6480048041317265748== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3siQDZowHQqNOShm" Content-Disposition: inline --3siQDZowHQqNOShm Content-Type: multipart/mixed; boundary="/NkBOFFp2J2Af1nK" Content-Disposition: inline --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Feb 09 2016, at 11:19:32 -0600, Aaron Paetznick wrote: > 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? I'm not deep enough into Horde to answer all of your questions, but we've had a similar urge to change some of the text that is displayed when a problem report is generated, so on the "getting you started" track, I can share this "works for me" solution here. (Our goal was to add a reminder to our users to provide alternative means of contact when sending a problem report concerning "not being able to receive emails", because our helpdesk can't really answer reports when there is a real or perceived problem of receiving mails. Well, in fact, they can of course answer, but such an answer is rather moot when it will not be read by the person experiencing the trouble.) So to make a long story short, attached is a translation file concerning "problem report" translations that is based on what we use (I just replaced "problems" with "issues" to demonstrate the effect). You can use that as a basis for your own translations. You just need to put it into a proper subdirectory of the "locale" directory of your Horde installation (the one that has got ar, bg, bs, ca, etc. already) like this: mkdir -p en_US/LC_MESSAGES put the attached horde.po there edit en_US/LC_MESSAGES/horde.po to your needs horde-translation make --no-compendium -l en_US reload your web server and re-login to Horde The part that is a bit tricky about all this is the translation of the entry in the gearwheel menu. This is not part of the regular "horde" package but part of "Horde_Core" instead. So changing that text within this horde.po file might be a bit quick and dirty, but you'll have to decide for yourself if you want to go to greater lengths there. Jens --/NkBOFFp2J2Af1nK Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="horde.po" # Changed en_US translations for Horde to reflect "problems" being "issues" instead. # msgid "" msgstr "" "Project-Id-Version: Horde 5.2-git\n" "Report-Msgid-Bugs-To: [email protected]\n" "POT-Creation-Date: 2016-02-09 21:45+0100\n" "PO-Revision-Date: 2016-02-09 22:02+0100\n" "Last-Translator: John Doe <[email protected]>\n" "Language-Team: None <[email protected]>\n" "Language: en_US\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8-bit\n" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #: lib/Horde/Core/Topbar.php:188 msgid "Problem" msgstr "Report An Issue" #: templates/problem/problem.inc:37 msgid "Cancel Problem Report" msgstr "Cancel sending Issue Report" #: templates/problem/problem.inc:6 msgid "Describe the Problem" msgstr "Describe the Issue" #: templates/problem/problem.inc:27 msgid "Full Description" msgstr "" "Full Description<br />(if you have trouble receiving emails, <br /> please " "remember to provide alternative means of contact<br />because we will not be " "able to answer your request otherwise)" #: services/problem.php:156 msgid "Please provide a summary of the problem." msgstr "Please provide a summary of the issue." #: services/problem.php:161 msgid "Problem Description" msgstr "Issue Description" #: templates/problem/problem.inc:36 msgid "Send Problem Report" msgstr "Send Issue Report" #: templates/problem/problem.inc:17 msgid "Short Summary" msgstr "Short Summary" #: services/problem.php:155 msgid "You must describe the problem before you can send the problem report." msgstr "You must describe the issue before you can send the issue report." #: templates/problem/problem.inc:13 msgid "Your Email Address" msgstr "Your Email Address" #: templates/problem/problem.inc:9 msgid "Your Name" msgstr "Your Name" #: services/problem.php:112 msgid "[Problem Report]" msgstr "[Issue Report]" #: services/problem.php:59 msgid "attachment" msgstr "attachment" --/NkBOFFp2J2Af1nK-- --3siQDZowHQqNOShm Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAla6YBUACgkQAL/arBo1HgiCtgCfVImZbjy03OU+FMfABS57X39J JSUAniSY5ONplAtw2ggcwFQcFBroV0y0 =h+TU -----END PGP SIGNATURE----- --3siQDZowHQqNOShm-- --===============6480048041317265748== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- i18n mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected] --===============6480048041317265748==--