Closed jatinsandilya closed 4 years ago
Hi @jatinsandilya, you can look at the vanilla demo-app's translation_input.json
for some examples. The es_ES
translations don't happen to have any variations, but you can look at the fb_HX
section for examples of how variations are intended to work.
es_ES: https://github.com/facebook/fbt/blob/master/demo-app/translation_input.json#L2033-L2396
An example fb_HX variation: https://github.com/facebook/fbt/blob/master/demo-app/translation_input.json#L441-L466
If this doesn't fully answer your question, please re-open this issue!
Hi could someone give me an example on how the
translationScriptInput
would look like for plurals and other variations like gender,pronouns etc?We're using the ReactNative sample app that is available as a starter.
Cheers