Skip to content

this is a tool written in python to generate json file of i18-next json file for your translation and internalization,

Notifications You must be signed in to change notification settings

JeremiahJacob261/i18next-json-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

This is a i18-next json generator

This tool was creating with python 3.11 on windows

Library Used

  • bs4 beautifulsoup
  • reuests
  • json
#must read
list = ['en', 'es', 'vi', 'ru', 'fr', 'pl','de']
# the code above can be edited on line 12, input the country language codes as you wish
#remember you are using my api key, please use responsibly. or add yours
#get your at https://microsoft-translator-text.p.rapidapi.com/translate

To start the tool, open a commandline terminal or cmd:

1. INSTALL BeautifulSoup: https://pypi.org/project/beautifulsoup4/
pip install beautifulsoup4
  1. RUN The File
python ./translate-fetcher.py
  1. Follow the instructions given in the terminal
  2. Don't forget to give this REPO a STAR

The code creates folders with the language code name, which includes Json Files from different pages, 🙂

hit me up on my gmail for more questions or

X

😁

About

this is a tool written in python to generate json file of i18-next json file for your translation and internalization,

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages