ReactNativeLocalization
ReactNativeLocalization copied to clipboard
How can i put json from api into LocalizedStrings
I want to fetch json from api and put into localisedString
from the docs
strings.setContent({
en:{
how:"How do you want your egg todajsie?",
boiledEgg:"Boiled eggsie",
softBoiledEgg:"Soft-boiled egg",
choice:"How to choose the egg"
}
})
Got it.thanks😊
On Tue, 5 May, 2020, 8:28 PM Muhammad Saeed, [email protected] wrote:
from the docs https://github.com/stefalda/ReactNativeLocalization#update--overwrite-locale
strings.setContent({ en:{ how:"How do you want your egg todajsie?", boiledEgg:"Boiled eggsie", softBoiledEgg:"Soft-boiled egg", choice:"How to choose the egg" } })
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stefalda/ReactNativeLocalization/issues/187#issuecomment-624106088, or unsubscribe https://github.com/notifications/unsubscribe-auth/APJVOVEW2VDS3NCVFUSQ2HTRQASP5ANCNFSM4MOWOCFA .