On November 30th, 2016, Mozilla shut down the persona.org services. Persona.org and related domains will soon be taken offline.
For more information, see this guide to migrating your site away from Persona:
https://wiki.mozilla.org/Identity/Persona_Shutdown_Guidelines_for_Reliers
In the future, the user interface for signing into sites with Persona will be directly integrated into the browser, and thus localized along with the browser's own localization. For browsers without integrated support, Persona's user interface consists of a series of dialogs served from login.persona.org. These dialogs are translated by a team of community volunteers, and more than 45 locales are currently enabled in production.
The Persona service selects a language using the Accept-Language
header sent alongside the browser's requests. The algorithm used to map an Accept-Language
header to a language is the same as that used by mozilla.org
:
Accept-Language
header:
For example, the table below lists the language selected for various Accept-Language
headers, if the following locales were supported: en-US, es, es-MX
:
Accept-Language Header | Selected language |
---|---|
es-AR,es;q=0.8,en-us;q=0.5 |
es |
es-MX,es;q=0.8,en-us;q=0.5 |
es-MX |
e s-es,en-us;q=0.5 |
en-US |
e s-es |
en-US |
There is currently no way for a website to force the dialogs to appear in another language. This is because the Persona UI is logically (and in future native implementations will actually be) part of the browser UI, so its language should be consistent with the language selected for the browser.
Persona uses Mozilla Verbatim to help volunteers create new translations. If you want to help out, read about getting started with Verbatim and check out the "BrowserID" project on Verbatim.