mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-29 13:13:54 +08:00
Added to Front-End Interview questions: more answers to question: What kind of things must you be wary of when designing or developing for multilingual sites? (#28)
This commit is contained in:
@ -84,6 +84,7 @@ In the back end, the HTML markup will contain `i18n` placeholders and content fo
|
||||
- Be mindful of how colors are perceived - Colors are perceived differently across languages and cultures. The design should use color appropriately.
|
||||
- Formatting dates and currencies - Calendar dates are sometimes presented in different ways. Eg. "May 31, 2012" in the U.S. vs. "31 May 2012" in parts of Europe.
|
||||
- Do not concatenate translated strings - Do not do anything like `"The date today is " + date`. It will break in languages with different word order. Using template parameters instead.
|
||||
- Language reading direction - In English, we read from left-to-right, top-to-bottom, in traditional Japanese, text is read up-to-down, right-to-left.
|
||||
|
||||
###### References
|
||||
|
||||
|
Reference in New Issue
Block a user