tree: 236d74e45e2e8f3fe3c32b47629a25c95024c3b8 [path history] [tgz]
  1. BUILD.gn
  2. README.md
  3. client/
  4. meta/
  5. server/
garnet/examples/intl/wisdom/cpp/README.md

Internationalization Example: Intl Wisdom

Simple example of using fuchsia.intl.Profile (from intl.fidl) for conveying internationalization properties to services. Eventually, this might become a polyglot version of fortune.

Run using

run fuchsia-pkg://fuchsia.com/intl_wisdom#meta/intl_wisdom_client.cmx

You can optionally specify a timestamp in ISO-8601 format, to be used in generating bits of wisdom:

--timestamp=2018-11-01T12:34:56Z

You can also override the timezone that will be set in the Profile, by using an IANA Time Zone ID:

--timezone=America/Los_Angeles

The client command above will automatically start the server. If you'd like to start the server directly, execute

run fuchsia-pkg://fuchsia.com/intl_wisdom#meta/intl_wisdom_server.cmx