add banner to localized pages
See original GitHub issueIntro
Let’s add a banner to all localized pages for the 10 supported non-English locales. The banner has to account for two cases:
- pages within the 6 active locales:
ru
,ko
,fr
,ja
,zh-CN
, andzh-TW
- pages within the 4 inactive locales:
de
,es
,pl
, andpt-BR
Location and look
Let’s go with @dalexsy’s second mockup:
- Located just below the breadcrumb bar and much thinner than that bar
- Left justified text
- Highlighted background
- active locales: light pastel yellow or whatever color @schalkneethling and @dalexsy feel is best
- inactive locales: a color that provides more emphasis, that indicates more of a warning since these locales have no community maintaining them, perhaps a brighter yellow or very light red or whatever color @schalkneethling and @dalexsy feel is best
Text
Let’s hard code the translations of the English text into the banner for each locale.
Active locales
Let’s go with translations of @ddbeck’s text for the 6 active locales (text below shown for French as an example):
This page was translated from English by the community. Learn more by joining the French community on MDN.
Where the language community links for each language would be as follows:
- “Chinese” (
zh-CN
andzh-TW
): https://developer.mozilla.org/en-US/docs/MDN/Contribute/Localize#chinese_zh-cn_zh-tw - “French” (
fr
): https://developer.mozilla.org/en-US/docs/MDN/Contribute/Localize#french_fr - “Japanese” (
ja
): https://developer.mozilla.org/en-US/docs/MDN/Contribute/Localize#japanese_ja - “Russian” (
ru
): https://developer.mozilla.org/en-US/docs/MDN/Contribute/Localize#russian_ru - “Korean” (
ko
): TBD (@chrisdavidmills can provide this when it’s ready)
Inactive locales
Let’s go with translations of @chrisdavidmills’ text for the 4 inactive locales:
This page was translated from English by the community, but it is not actively maintained therefore it may be out-of-date. If you’d like to help maintain it, find out how to activate inactive locales.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (12 by maintainers)
Top GitHub Comments
If I may be of any help 😃 (I was just wandering across the repos)
could be translated in French by