Improve localizability of GitLab website footer messages - View source, Edit this page, Please contribute
Goal
Improve localizability of GitLab website footer messages: View source, Edit this page, Please contribute
.
Please provide more information related to this engineering request
Recommendation from the Globalization and Localization team is to re-compose the following messages, and possibly refactor associated code, to ensure translatability into current and future languages on GitLab website. The recommendation is based on the conducted localizability research in https://gitlab.com/gitlab-com/localization/issue-tracker/-/issues/84+
It will be best if we could align this improvement with the future work related to functionality change of the footer: [ENG] View Source & Edit in WebIDE Functionalit... (navigation#174 - closed)
Which page(s) are involved in this request?
English source in Contentful:
"view":"View"
"please":"please"
"source":"page source"
"edit_page":"Edit this page"
"contribute":"contribute"
In scope
What is within scope of this request?
-
Strings should not be composed of fragments. Use whole and meaningful sentence-like structures, instead of concatenation.
Example of the composition where text fragments are likely concatenatable:
"view":"View"
"please":"please"
"source":"page source"
"edit_page":"Edit this page"
"contribute":"contribute"
Example of the proposed whole messages and keys that yield higher quality translations:
"view_page_source":"View page source"
"edit_page":"Edit this page"
"please_contribute":"Please contribute"
-
If punctuation is needed, such as a period in string "Please contribute.", include the punctuation in the text value, rather than hardcoding punctuation
DCI
-
DRI: 'Engineer' -
Consulted: @justin.vetter @laurenbarker @fqureshi
-
Informed: Everyone
@djsulliv