Bug 677119
Summary: | [l10n] RFE: Make template content in CreateBook.pm translatable | ||
---|---|---|---|
Product: | [Community] Publican | Reporter: | Thomas Canniot <thomas.canniot> |
Component: | publican | Assignee: | Jeff Fearn 🐞 <jfearn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | tools-bugs <tools-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.5 | CC: | hpeters, mhideo, mmcallis, publican-list, rlandman |
Target Milestone: | 3.0 | Keywords: | i18n |
Target Release: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | 3.0.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-10-31 03:11:36 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Thomas Canniot
2011-02-13 14:20:56 UTC
(In reply to comment #0) > Description of problem: > The 'Preface' string is not present inside the conventions.pot file of > Publican. 'Preface' is translated 'Préface' in French and thus this string must > be translatable. Hi Thomas The "Preface" string belongs to the *book* not to Publican and is therefore already translatable. For example, look in the Preface.po file of any book and you will find an msgid for the <title> of the <preface> (by default, "Preface") That said, I think we should make the template strings translatable in the Publican POT file. Note that these translated strings will only be included in books originally created in the corresponding language. They would include the "Preface" title and some boilerplate content that we add to newly-created books like "This is a test paragraph." English translators would then need to translate "Préface" to "Preface" in their Preface.po file. Cheers Rudi Added many calls to maketext to allow default texts to be translated for create book. Committed revision 1716. Documentation for this RFE does not seem to be required. Make .pot file and see if "preface" comes through translated. Verified (with Rudi's help - thanks!) When creating a new book, setting German as original language with --lang de-DE, the build actually shows the strings "Preface", "Test Paragraph" etc. in German as expected. |