Add Chinese localization guidance#153
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the Flutter localization guide to include workflows and examples for Chinese localization, including adding Chinese ARB files and configuring Chinese locales. The reviewer suggested keeping the Spanish locale in the example configuration to maintain consistency with other sections of the guide that still reference Spanish localization.
| Locale('zh'), // Chinese | ||
| Locale('zh', 'CN'), // Simplified Chinese, China |
There was a problem hiding this comment.
In the Implementation Workflow section (lines 133-138), app_es.arb is still used as the primary example of adding other locales. However, Locale('es') was removed from the supportedLocales list here. To maintain consistency throughout the guide, it is better to keep Spanish in the supportedLocales list alongside the newly added Chinese locales.
| Locale('zh'), // Chinese | |
| Locale('zh', 'CN'), // Simplified Chinese, China | |
| Locale('es'), // Spanish | |
| Locale('zh'), // Chinese | |
| Locale('zh', 'CN'), // Simplified Chinese, China |
There was a problem hiding this comment.
This is a documentation-only PR. The pending checks appear to require maintainer approval before running. Please approve them when convenient. Thanks!
Summary
This PR adds Chinese localization guidance to help Chinese-speaking users better understand how to use and contribute to the project.
Changes
Motivation
Chinese-speaking users may need clearer localized guidance when reading, using, or contributing to this project. This update improves documentation accessibility and lowers the barrier for participation.
Testing