Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Langpack built from source doesn't include untranslated entities

11 views
Skip to first unread message

Trung Ngo

unread,
May 2, 2015, 2:16:09 PM5/2/15
to dev-l...@lists.mozilla.org
Hi all,

@arky

I'm trying to resume the Aurora translation effort. As part of it, I'm
looking into building langpack from source to test my translation.

I'm using this guide:
https://developer.mozilla.org/en-US/docs/Mozilla/Localization/Quick_start_guide/QA_phase

Instead of http://hg.mozilla.org/l10n-central/vi, I used the Vietnamese
files from here since they are more recent:
http://hg.mozilla.org/releases/l10n/mozilla-aurora/vi/

The problem is that the resulting xpi file doesn't work. I successfully
loaded it into Aurora but after restarting, it shows an error dialog,
saying some XML entities are undefined.

On the other hand, the official xpi does work:
https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-aurora-l10n/win32/xpi/firefox-39.0a2.vi.langpack.xpi

I diff-ed my xpi and this xpi and it shows that a lot of untranslated
entities were missing completely in my xpi, like this:

--- my/browser/chrome/vi/locale/browser/aboutAccounts.dtd 2015-05-02
23:26:12.000000000 +0700
+++ theirs/browser/chrome/vi/locale/browser/aboutAccounts.dtd 2015-05-02
18:43:35.000000000 +0700
@@ -7,3 +7,8 @@


<!ENTITY aboutAccountsConfig.manage.label "Quản lý">
+
+
+<!ENTITY aboutAccountsConfig.description "Sign in to sync your tabs,
bookmarks, passwords & more.">
+<!ENTITY aboutAccountsConfig.startButton.label "Get started">
+<!ENTITY aboutAccountsConfig.useOldSync.label "Using an older version of
Sync?">

I followed the instruction very closely (make merge-vi then make
langpack-vi). Any idea what went wrong?

--
Best regards,
Trung "Chin" Ngo

Developer, Linux/Unix specialist

http://ngochin.com - ndtru...@gmail.com - +84 168 713 4338

Trung Ngo

unread,
May 3, 2015, 8:28:11 AM5/3/15
to mozilla-d...@lists.mozilla.org
Thanks, arky. Btw, you forgot to press "Reply All".

2015-05-03 17:27 GMT+07:00 arky <ar...@mozilla.com>:

> On 05/03/2015 01:16 AM, Trung Ngo wrote:
> >
> > I followed the instruction very closely (make merge-vi then make
> > langpack-vi). Any idea what went wrong?
> >
> Not quite sure what's missing here. Do ask on dev-l10n list.
>
> Cheers
>
> --arky
0 new messages