Skip to content

Commit

Permalink
Add readme
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuem committed Dec 14, 2023
1 parent 4852c20 commit 3a8333c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pkgs/sketch_pad/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,9 @@ We pass the `--disable-web-security` flag to Chrome as we're not able to
configure the `flutter run` web server to pass CORS headers for
`AssetManifest.json`, `FontManifest.json`, and other resources.

## Regenerating message files
## Localization

To add a new locale:
* Copy and rename `de.arb`, and add the translated strings. Use the descriptions in `en.arb` as a reference.
* Add the locale to the `supportedLocales` in `main.dart`.
* Run `dart run build_runner build -d` to regenerate the calling code.

0 comments on commit 3a8333c

Please sign in to comment.