tree: 6d06524b550f9066a5493c09b5a204be967fc07f [path history] [tgz]
  1. localized_flutter_app/
  2. localized_flutter_localization/
  3. BUILD.gn
  4. OWNERS
  5. README.md
examples/localized_flutter/README.md

Localized Mod

This is an example of a simple Flutter application that can display localized strings in several supported locales. It uses dart:intl_translation for extracting localized strings from code and for generating the localization-loading classes.

This is intended as a testbed for any efforts to integrate Fuchsia's Gerrit with a translation pipeline.

Building

fx set workstation.chromebook-x64 --with //src/experiences/examples/localized_flutter
fx build

Testing

To run unit tests

fx set workstation.<BOARD> --with //src/experiences:tests
fx run-host-tests localized_flutter_app_unittests