tree: 88176f45831d703f044b8752b73369448a98df1d [path history] [tgz]
  1. client/
  2. meta/
  3. server/
  4. BUILD.gn
  5. README.md
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