This is a simple example of a visual mod that is a client of fuchsia.intl.PropertyProvider
, whose Locale
can be set at launch and while the mod is running.
intl_client_demo
renders its view using Skia. Currently, it simply displays the provided locale ID in a large font in the middle of the view.
Build a Fuchsia workstation target with kitchen_sink
.
Example:
$ fx set-petal topaz $ fx set workstation.chromebook-x64 --with //bundles:kitchen_sink $ fx serve
Boot the device.
Start a new session:
$ fx shell sessionctl login_guest
Launch the module:
$ fx shell sessionctl add_mod intl_client_demo