Getting started
Once installed you can setup your project by running i18nhero init
.
You will then be prompted for your i18nhero api key, which can be generated at https://i18nhero.com/settings/api.
$ i18nhero init
You are not authenticated to i18nhero!
✔ Do you want to login now? · yes
? What is your api key? (https://i18nhero.com/settings/api) ›
After authenticating you can select the desired organization:
$ i18nhero init
You are not authenticated to i18nhero!
✔ Do you want to login now? · yes
✔ What is your api key? (https://i18nhero.com/settings/api) · ************************************
You are now signed in to i18nhero!
? Organization ›
❯ i18nhero
demo-organization-1
demo-organization-2
Then you will be asked which project you wish to setup.
$ i18nhero init
You are not authenticated to i18nhero!
✔ Do you want to login now? · yes
✔ What is your api key? (https://i18nhero.com/settings/api) · ************************************
You are now signed in to i18nhero!
✔ Organization · i18nhero
? Project ›
❯ @i18nhero/i18nhero.com
@i18nhero/cli
You can now download your locale files by running the i18nhero pull
command and upload your locale files using the i18nhero push
command.