Closed
Bug 228147
Opened 22 years ago
Closed 21 years ago
Localization of templates to ensure coherent upgrades
Categories
(Bugzilla :: User Interface, enhancement)
Bugzilla
User Interface
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: contact, Assigned: myk)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.4-5 StumbleUpon/1.87
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.4-5 StumbleUpon/1.87
While trying to maintain the french translation of Bugzilla from 2.16 to 2.17, I
noticed that some of the variable names changed (bug.name instead of $bug_name
???). It would be so much easier if we could centralize to translation code.
Reproducible: Always
Steps to Reproduce:
1. Paste the French translation in the templates section of bugzilla 2.17
2. ./checksetup
3. vi data/params and change the language setting
4. ./checksetup
5. Things don't work quite right
6. Translate a bit
7. Notice all those varible name changes
8. Vote for this bug !
Actual Results:
format_not_found on the bug page in a big red box after some hacking
this bug
Expected Results:
The bug page in the 2.16 French
Let's not forget
http://www.mozilla.org/docs/refList/i18n/
either.
| Reporter | ||
Updated•22 years ago
|
Depends on: bz-admintemplates
| Reporter | ||
Comment 1•22 years ago
|
||
I forgot, this is a way we could go about putting in place a unique dictionary
for bugzilla translators :
http://www.autrijus.org/webl10n/webl10n.html
The page shows a neat way of internationalizing PERL pages compatible with
templates.
Comment 2•22 years ago
|
||
Explain to me how to reproduce step 5 in your steps to reproduce? What exactly
doesn't work right? I'm not aware of any problems with the German templates,
why would French be any different?
Updated•22 years ago
|
Summary: Localization of templates to insure coherient upgrades → Localization of templates to insure coherent upgrades
Updated•22 years ago
|
Summary: Localization of templates to insure coherent upgrades → Localization of templates to ensure coherent upgrades
| Reporter | ||
Comment 3•22 years ago
|
||
As a reply to Dave Miller, the problem to me seems simple.
The templarte variables change from version to version.
Rather than writing the translation around the program, it would be neat to
write the program around the translation.
This technique is already in place in the
templates/default/en/globals/variables.non.tmpl (I think its that file). This
should be generalized.
If we had the time, I'm sure the passage from 2.16 to 2.17 and 2.18 would be
just fine, but hey... I don't want to re-translate what I already translated !
With each change in the templates in English, we have the foreign languages that
need to catch up.
I don't like that, and we can do better.
How ?
Perhaps by centralizing a common dictionary.
What would the implications be on the template designers ?
I don't know. They'd have to add variables for newq bits of information on the
pages.
Would it hinder the English version ?
W'ed have alot of variables and constants about.
Updated•22 years ago
|
OS: Linux → All
Updated•21 years ago
|
QA Contact: mattyt-bugzilla → default-qa
Comment 4•21 years ago
|
||
That's more or less what we did with the last set of variable changes. We're
centralizing the API on how to access all of this information so it can all be
gotten from standardized objects rather than each CGI having to set a list of
variables to provide to the templates.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•