Hi "beginner",
webL10n was originally developed for Gaia, the front-end of Firefox
OS. We have since developing our l10n infra in Gaia itself and
elsewhere so webL10n repo does not contain exact what is used in Gaia.
The library in Gaia might not be good for general use anyway because
it's can be depend on Gecko-specific behavior. So you seek other
solution for your own page. I did use original webL10n library for my
own web-facing page, I however workaround the flickering by not
including any string in the original HTML at all.
Please note this mailing list is not the right place for this
discussion to take place (dev-l10n is the mailing list for our global
localization teams localizing Mozilla projects). If you have more
question about webL10n you should talk to Kaze directly on Github
issues as it's not a Mozilla open source project. For Gaia code base
you should come to dev-gaia instead.
Thanks,
On Tue, Jul 1, 2014 at 3:24 PM, beginner <
szz...@gmail.com> wrote:
> Is there a way to overcome the flickering effect? Namely: if the selected language differs from the default one (that is written in HTML source), on page's load and refresh for a short time appears the default language on the webpage. I use JS l10n on my web pages ( downloaded from here:
https://github.com/fabi1cazenave/webL10n ) and I am very satisfied with it but this feature is very annoying. I know that solution of hiding content until page load complete but for me this is not a solution. This thing (hiding content) is even worse for user experience.
>
> I guess this is a well-known problem but searching the web I have'nt find any solution.