Work has started on using the language library, we need to go across the app and make sure we're unifying the language.
You can get the language lib from an AtomRef like thislet l = use_atom_ref(&cx, LANGUAGE).read();
Now you'll want to find and replace any reference to a string with the language variant, you will likely need to create new language entries under src/language/en_us.rs. and replace them in components across the app something like placeholder: "Say something..." becomes placeholder: "{l.chatbar_placeholder}"
Work has started on using the language library, we need to go across the app and make sure we're unifying the language.
You can get the language lib from an
AtomRef
like thislet l = use_atom_ref(&cx, LANGUAGE).read();
Now you'll want to find and replace any reference to a string with the language variant, you will likely need to create new language entries under
src/language/en_us.rs
. and replace them in components across the app something likeplaceholder: "Say something..."
becomesplaceholder: "{l.chatbar_placeholder}"