From 8563c9b277c859369bdcf945655fd4111e01e334 Mon Sep 17 00:00:00 2001 From: tyler <103609620+spicytigermeat@users.noreply.github.com> Date: Sun, 17 Mar 2024 16:57:51 -0500 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 0c94964..8031606 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,7 @@ ez-localizr accounts for Unicode issues using `ftfy`, and loads string definitio ## Simple Usage Guide: ```python +import ezlocalizr L = ezlocalizr(language='en_US', string_path: 'strings', default_lang='en_US') text = L('test') @@ -24,6 +25,7 @@ Output: `Hello World!` ez-localizr will only be able to display strings in languages that are in your string folder. If you have multiple, and would like to change it, call the `load_lang()` function. An example is listed below! ```python +import ezlocalizr L = ezlocalizr(language='en_US', string_path='strings', default_lang='en_US') L.load_lang('fr_FR')