Make adaptable for multiple languages
Opened this issue · 0 comments
Beamanator commented
Idea = anywhere text should be displayed (example: <h4>Name / Location</h4>
), change the text with:
<h4>{textPiece.<name>.<lang>}</h4>
Where:
textPiece
is a dictionary of strings<name>
is a string key name (likeADD_PICKUP_TABLE_GROUP_TITLE_NAME_LOCATION
)<lang>
is the language needed, probably stored in global settings / redux (English / Arabic would be first 2 languages)