mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #16512
[Bug 1271010] [NEW] Set the "pt" language pack as the parent to the "pt_BR" language pack
Public bug reported:
See https://mahara.org/interaction/forum/topic.php?id=5352&offset=10
The Mahara language pack system is set up to allow a language pack to
specify a "parent" langpack, which will be used as its fallback for
untranslated terms in preference to English. This is a feature we've
never used, but basically inherited by porting Moodle's langpack system.
Among our existing langpacks, the only one that could benefit from this
is the "pt_BR" Portuguese (Brazil) language pack. There is a much more
complete "pt" Portuguese (Portugal) language pack, and it would be great
if the pt_BR pack used that as its fallback for untranslated terms.
What needs to happen is this line of code added to the lanfconfig.php
file for the pt_BR langpack:
$string['parentlanguage'] = 'pt';
Unfortunately, I've no idea how to make that happen under our current
Launchpad-based translation system. As mentioned on the forum, I suspect
I'd have to do it via a bzr push, but I'm clueless at actually using
bzr.
** Affects: mahara
Importance: Medium
Assignee: Son Nguyen (ngson2000)
Status: Confirmed
** Tags: translations
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1271010
Title:
Set the "pt" language pack as the parent to the "pt_BR" language pack
Status in Mahara ePortfolio:
Confirmed
Bug description:
See https://mahara.org/interaction/forum/topic.php?id=5352&offset=10
The Mahara language pack system is set up to allow a language pack to
specify a "parent" langpack, which will be used as its fallback for
untranslated terms in preference to English. This is a feature we've
never used, but basically inherited by porting Moodle's langpack
system.
Among our existing langpacks, the only one that could benefit from
this is the "pt_BR" Portuguese (Brazil) language pack. There is a much
more complete "pt" Portuguese (Portugal) language pack, and it would
be great if the pt_BR pack used that as its fallback for untranslated
terms.
What needs to happen is this line of code added to the lanfconfig.php
file for the pt_BR langpack:
$string['parentlanguage'] = 'pt';
Unfortunately, I've no idea how to make that happen under our current
Launchpad-based translation system. As mentioned on the forum, I
suspect I'd have to do it via a bzr push, but I'm clueless at actually
using bzr.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1271010/+subscriptions
Follow ups
References