From 06fe5eabcaaa43db8355846a522def35c628a8d0 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Wed, 4 Jan 2023 12:03:43 +0800 Subject: [PATCH] Update README. --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index ef2d3e1..be48cba 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,9 @@ rust_i18n::i18n!("locales"); fn main() { println!("{}", t!("hello")); + + // Use `available_locales` method to get all available locales. + println!("{:?}", available_locales()); } ```