Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- setlocal enabledelayedexpansion
- :: Define the supported languages array
- set supportedLanguages=af,am,ar,az,be,bg,bn,bs,ca,cs,cy,da,de,dv,el,en,es,et,eu,fa,fi,fr,ga,gl,gu,he,hi,hr,hu,hy,id,is,it,ja,ka,kk,km,kn,ko,ky,lt,lv,mk,ml,mn,mr,ms,mt,nb,ne,nl,nn,no,or,pa,pl,ps,pt,ro,ru,sd,si,sk,sl,sq,sr,sv,sw,ta,te,th,tr,uk,ur,uz,vi,xh,zh,zu
- :: Loop through each language code and create a JSON file for it
- for %%a in (%supportedLanguages%) do (
- echo { > %%a.json
- echo "language": "%%a" >> %%a.json
- echo } >> %%a.json
- echo %%a.json file has been created.
- )
- endlocal
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement