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

Web content updates for Hello (web page, snippets)

73 views
Skip to first unread message

Francesco Lodolo [:flod]

unread,
Dec 19, 2014, 3:58:54 AM12/19/14
to Mozilla projects web content localization
Hi,
last evening I pushed some new content for localization and wanted to
add some notes. I tried to add a lot of comments to the .lang file too,
I hope they're helpful.

Since this is probably one of the last messages to the list in the 2014,
I'll take the occasion to thank you all for the great work done this
year, and I wish you all happy holidays and a happy new year :-)

*Firefox Hello pages**(firefox/hello.lang)*
There are two pages, currently "work in progress":

* a "product landing" page: https://www-demo2.allizom.org/firefox/hello/
* a "interactive tour" page:
https://www-demo2.allizom.org/firefox/hello/start
(this URL currently redirects to SUMO, should be fixed before evening)

Deadline for this content is the release of Firefox 35 (January 13).

Interactive tour uses a feature called "UI Tour", where the page is able
to interact directly with Firefox interface. This works "out of the box"
when the page is on mozilla.org, but to make it work on dev/demo servers
you need to add some configuration parameters to your Firefox.
http://bedrock.readthedocs.org/en/latest/uitour.html

Starting from Firefox 35 (current Beta) you need to create a new string
preference in about:config
name: browser.uitour.testingOrigins
value: https://www-demo2.allizom.org
Value can include multiple values separated by commas.

If you're using Firefox 34, create a new string preference in
about:config (need to restart the browser after setting the value)
name: browser.uitour.whitelist.add.testing
value: www-demo2.allizom.org

Regarding the content: in a couple of cases English relies on a wordplay
between "Hello" and "hello" (product name vs greeting). I added notes to
the strings, basically "Hello" written with uppercase is always the
product name. Let me know if you have any issue with these, eventually
we can try to loop in the original author of the English copy for help.

*Snippets*
As usual, rely on your webdashboard to know if you have snippets to
localize. I tried to put all the available information (length limit,
link) in the comment for each string.
Some locales will find 2 files, since the deadline was very different
for the requests.

About length limit: I plan to add a feature to the webdashboard in next
cycle to warn when a translation is longer than the maximum allowed
length, so you don't have to manually check them.

As usual, let me know if you have any issues or doubts.

Francesco

Francesco Lodolo [:flod]

unread,
Dec 19, 2014, 5:36:36 AM12/19/14
to Mozilla projects web content localization
Il 19/12/14 09:57, Francesco Lodolo [:flod] ha scritto:
> Hi,
> last evening I pushed some new content for localization and wanted to
> add some notes. I tried to add a lot of comments to the .lang file
> too, I hope they're helpful.
>
> Since this is probably one of the last messages to the list in the
> 2014, I'll take the occasion to thank you all for the great work done
> this year, and I wish you all happy holidays and a happy new year :-)
>
> *Firefox Hello pages**(firefox/hello.lang)*
> There are two pages, currently "work in progress":
>
> * a "product landing" page: https://www-demo2.allizom.org/firefox/hello/
> * a "interactive tour" page:
> https://www-demo2.allizom.org/firefox/hello/start
> (this URL currently redirects to SUMO, should be fixed before evening)
>
That's because I missed the right URL (comment in .lang file updated too)
https://www-demo2.allizom.org/it/firefox/37.0a1/hello/start/

Francesco

Selim Şumlu

unread,
Dec 22, 2014, 3:37:49 AM12/22/14
to
19 Aralık 2014 Cuma 10:58:54 UTC+2 tarihinde Francesco Lodolo [:flod] yazdı:
FYI:
In this line, an arrow is automatically added to the end of link via CSS:
;Visit <a rel="external" href="%s">Mozilla Support</a>
That doesn't work for Turkish (and probably some other locales) because our translation goes like this:
<a rel="external" href="%s">Mozilla Destek</a>’i ziyaret edin

Can we fix this?

Thanks!

Francesco Lodolo [:flod]

unread,
Dec 22, 2014, 3:55:00 AM12/22/14
to dev-l1...@lists.mozilla.org
Il 22/12/14 09:37, Selim Şumlu ha scritto:
> In this line, an arrow is automatically added to the end of link via CSS:
> ;Visit <a rel="external" href="%s">Mozilla Support</a>
> That doesn't work for Turkish (and probably some other locales) because our translation goes like this:
> <a rel="external" href="%s">Mozilla Destek</a>’i ziyaret edin
Hi Selim,
it's indeed an issue. Usually the link is on the entire sentence (see
for example "Uyumlu tarayıcılar hakkında bilgi alın"), we might have to
change that string to make sure we don't have that problem ('uz' is
already affected).

For now the alternative is to change the translation from

<a rel="external" href="%s">Mozilla Destek</a>’i ziyaret edin

to

<a rel="external" href="%s">Mozilla Destek’i ziyaret edin</a>

Which would have the same final result.

Francesco

Francesco Lodolo [:flod]

unread,
Dec 22, 2014, 12:16:17 PM12/22/14
to dev-l1...@lists.mozilla.org
Il 22/12/14 09:53, Francesco Lodolo [:flod] ha scritto:
> Il 22/12/14 09:37, Selim Şumlu ha scritto:
>> In this line, an arrow is automatically added to the end of link via CSS:
>> ;Visit <a rel="external" href="%s">Mozilla Support</a>
>> That doesn't work for Turkish (and probably some other locales) because our translation goes like this:
>> <a rel="external" href="%s">Mozilla Destek</a>’i ziyaret edin
> Hi Selim,
> it's indeed an issue. Usually the link is on the entire sentence (see
> for example "Uyumlu tarayıcılar hakkında bilgi alın"), we might have
> to change that string to make sure we don't have that problem ('uz' is
> already affected).
The entire string is now a link, so I stripped the HTML tags from both
reference and translation.
http://viewvc.svn.mozilla.org/vc?revision=136345&view=revision

We currently have 11 locales completely translated, as far as I can
there shouldn't be issues with the change.
e.g. Turkish https://www-demo2.allizom.org/tr/firefox/hello/

Francesco

Selim Şumlu

unread,
Dec 23, 2014, 2:24:25 AM12/23/14
to
22 Aralık 2014 Pazartesi 19:16:17 UTC+2 tarihinde Francesco Lodolo [:flod] yazdı:
Looks fine now. Thanks!
0 new messages