You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According the the doc, one should put the default lang under a [*] section, and all languages w/o a matching would match against that. So we would have:
[*]
greeting=Hello <-- an English string
[zh-TW]
greeting=您好
and when l10n.js loads in a fr-FR browser, we would have a localized event with evt.language set to fr-FR but the UI isn't actually French.
I currently workaround this limit by writing <html data-l10n-id="html"> and html.lang a entry for every language. Tell me if that's what you intended.
The text was updated successfully, but these errors were encountered:
According the the doc, one should put the default lang under a
[*]
section, and all languages w/o a matching would match against that. So we would have:and when
l10n.js
loads in afr-FR
browser, we would have alocalized
event withevt.language
set tofr-FR
but the UI isn't actually French.I currently workaround this limit by writing
<html data-l10n-id="html">
andhtml.lang
a entry for every language. Tell me if that's what you intended.The text was updated successfully, but these errors were encountered: