Keys and Values
To use the keys with the react-i18next
syntax
you will need to have a value for it; otherwise, the value key_name
will be used as default.
To have the text you wish (to replace the keys you are using in your app), you just need to change the files with those texts.
After the init
command, the i18ncloud creates the directory i18n in the src
directory. Inside this directory, you can find the files of all the languages you added with the i18ncloud Tool.
Each file should have the following structure:
The next step is rather simple: either you use the command i18ncloud key
which will add the input key with the input value to each language file, or you can manually add them.
The end result should be something like this:
Last updated
Was this helpful?