Generally, these are fixed texts that appear on the page, such as button labels. The main issue with internationalization in this case is the inconsistent length of text in different languages. For example, Chinese text may require only 100px to be displayed properly, while in languages like English or German, 200px may be needed to ensure that the text is fully displayed without needing to break into multiple lines. Solution:
It is important to plan the styles for different languages and scripts during the design phase, ensuring consistent visual effects as much as possible.
There is a problem with this approach: if more languages are added in the future, it may lead to incorrect page styling due to the characteristics of each language, resulting in abnormal visual effects.
Create multiple publishing channels, using various templates to design different styles for different languages.
The problem with this approach is that multiple templates need to be maintained. The advantage, however, is that each language-specific template can be designed and adjusted independently, without affecting other languages.
Generally, the content such as article texts and section names is managed internationally through user-side backend processes. Solution:
「RecommendedFor the independent domain method (cn.1000mz.com, en.1000mz.com), content in different languages is managed through multiple sites. Each site corresponds to a specific language setting. The recommended approach requires maintaining multiple templates. The templates for each language should be isolated from each other. This approach can handle the issue of internationalizing fixed text on pages effectively.
Subpath-based naming conventions (e.g., 1000mz.com/cn/, 1000mz.com/en/) are used to organize content in different languages. You can use a single template for all sections, or you can create separate templates for each language-specific section. In other words, there are actually two sets of templates in use.
# Example of the column structure using sub-path method
Simplified Chinese (/cn/)
News
Products
About Us
English(/en/)
news
product
aboutus