Ryan-Sin / swagger-nestjs-codegen

MIT License
20 stars 4 forks source link

English locale support #8

Open d9k opened 1 year ago

d9k commented 1 year ago

There are korean string constants in output code, for example '개발 팀의 문의해주세요', '성공여부'.

Please support english locale too (for example read locale from the first two letters in LC_ALL environment variable: LC_ALL=en_US.UTF-8 => en mode).

d9k commented 1 year ago

temporary fix: run

find "./" -type f -exec sed -i 's/성공여부/success/g' {} \;
find "./" -type f -exec sed -i 's/개발 팀의 문의해주세요/Please contact the development team/g' {} \;

in the output directory