README.md in habluhablu-0.5.7 vs README.md in habluhablu-0.5.8
- old
+ new
@@ -19,10 +19,11 @@
- Russian
- Korean
- Portuguese
- Turkish
- Polish
+- Hungarian
- Thai (th - symbol)
- Chinese (zh - symbol)
- Arabic
- Hebrew
- If you want to help me out and add your language, don't hesitate!
@@ -59,10 +60,10 @@
To generate a keyword for all languages files use: `habluhablu -k <keyword>` command.
To translate a phrase/word use: `habluhablu -t hello_world -f en -o es`, where the command translates 'hello there' to spanish (-o flag).
-**Important!** to use translator you will have to create an account [Google API](https://rapidapi.com/googlecloud/api/google-translate1) and put api_key into api_key.txt file in config/locales directory.
+**Important!** to use translator you will have to create an account [Google API](https://rapidapi.com/googlecloud/api/google-translate1) and set the api key as ENV variable - `ENV['HABLUHABLU_API_KEY']`
If you want to generate your own sample for languages files, You can do it by:
- creating your own sample.yml file in config/locales directory
- using `habluhablu -s <symbols>(separated by '_')` command