Name Description Size
resources
simple-fallback.rs This is an example of a simple application which calculates the Collatz conjecture. The function itself is trivial on purpose, so that we can focus on understanding how the application can be made localizable via Fluent. To try the app launch `cargo run --example simple-fallback NUM (LOCALES)` NUM is a number to be calculated, and LOCALES is an optional parameter with a comma-separated list of locales requested by the user. Example: cargo run --example simple-fallback 123 de,pl If the second argument is omitted, `en-US` locale is used as the default one. 7032