Propose and apply a scheme for localization keys
Opened this issue · 0 comments
Description
It's easier to navigate and come up with names for the new localization keys, when the appropriate scheme is defined.
Goal
Propose the following naming scheme:
(context where the key is used, typically the name of the screen, or General
if used in multiple cases)(type of element e.g. title / body / button, may be omitted if key is used in different elements)(specification if there's more than one instances of that type).
Examples:
General_Button_Cancel
(used in several places)
General_TermsOfService
(used as a link substring and button title)
Welcome_Title
(title of the welcome screen, it's unique so no need of specification)
Menu_Button_Segmentation
(similar elements are easy to search with autocomplete)
Menu_Button_Detection
Steps
- Agree on the format
- Apply the format