#694: Translations scaffolding
------------------------+--------------------------
Reporter: olemis | Owner: SaintGermain
Type: task | Status: assigned
Priority: minor | Milestone:
Component: trac core | Version: 0.7.0
Resolution: | Keywords: i18n
------------------------+--------------------------
Comment (by SaintGermain):
Ok to summarize:
1) add the code snippet mentionned above everywhere (already done in the
proposed patch) or create a wrapper
=> For just one line of code, it may be better to keep it as it is without
wrapper
2) domain per plugin
=> In my patch I have used only one domain (bloodhound). I will update it
with a different domain per plugin
3) Duplicate translation with Trac
=> I don't understand exactly what I have to do.
a) In Bloodhound directory I can see 5 plugins directories and one Trac
directory. I suppose that the Trac directory is directly checked out from
Trac, so the translation strings there are already in the official Trac
.po files and we just have to copy-paste them from Trac.
b) For the plugins directories, I will mark each string to be translated
and the string will be gathered in a domain specific .po file
c) So if some strings are both in the plugins directories and in the Trac
directory, they will appear twice (in the plugin .po file and in the Trac
.po file) and we will have to translate them twice.
For 3), is there another way to proceed ?
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/694#comment:14>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker