ReactNativeLocalization icon indicating copy to clipboard operation
ReactNativeLocalization copied to clipboard

How can i put json from api into LocalizedStrings

Open Prajaktajangam16 opened this issue 5 years ago • 2 comments

I want to fetch json from api and put into localisedString

Prajaktajangam16 avatar Apr 23 '20 03:04 Prajaktajangam16

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"
  }
})

Stringsaeed avatar May 05 '20 14:05 Stringsaeed

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 .

Prajaktajangam16 avatar May 05 '20 15:05 Prajaktajangam16