-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for .yaml file type for language #1167
Comments
depends on the backend loading...https://github.com/i18next/i18next-http-backend#backend-options -> check the parse option (parse yaml) |
Thanks, @jamuhl for responding but looks like file with
In place of .yaml if i put .json then it is working 👎 |
like said...have a look at parse option...just changing the loadPath is not enough -> you will have to define how to parse yaml to js object |
okay! Thanks @jamuhl it worked. Just need to add more code as below Reference for other's
|
Seems translations in storybook were broken by the switch to yaml-based translation files in 45a5d9e. Following this github answer: i18next/react-i18next#1167 (comment) I was able to restore them.
Seems translations in storybook were broken by the switch to yaml-based translation files in 45a5d9e. Following this github answer: i18next/react-i18next#1167 (comment) I was able to restore them.
Seems translations in storybook were broken by the switch to yaml-based translation files in 45a5d9e. Following this github answer: i18next/react-i18next#1167 (comment) I was able to restore them.
I'm having a little trouble getting this up and running in react-native. I can get everything working with JSON files but I'd like to use YAML. I have the following set up:
I have a
Files are in the following folders within
I've tried connected and disconnected from RN debugger. Is there anything else I need to do or can anyone offer advice to help get this up and running? |
🚀 Feature Proposal
Motivation
.json
file type for language, Is there a way to use the.yaml
file typePlease outline the motivation for the proposal.
Example
Instead of
translation.json
we could usetranslation.yaml
The text was updated successfully, but these errors were encountered: