msgbyte / tianji

Tianji: Insight into everything, Website Analytics + Uptime Monitor + Server Status. not only another GA alternatives
https://tianji.msgbyte.com/
Apache License 2.0
1.44k stars 83 forks source link

feat(lang): Add Urdu language support #67

Open Zaid-maker opened 4 months ago

Zaid-maker commented 4 months ago

Idk why pnpm run translation:extract update all of the translation, that's why i had to revert everything!

@moonrailgun Hi! sorry for ping but i want to translate only one language the command translate all of the translation?? in the guide u say i need to set the env (which i did) and then run the command

moonrailgun commented 4 months ago

Hi, @Zaid-maker . first thanks for your pr.

this command will extract all word which marked need to translate from source code.

free feel to submit others language's change if its auto generated by command. or you can only pick which you want to submit in git.

moonrailgun commented 4 months ago

BTW, which flag should Urdu use?

Zaid-maker commented 4 months ago

BTW, which flag should Urdu use?

Pakistan Flag

Zaid-maker commented 4 months ago

Hi, @Zaid-maker . first thanks for your pr.

this command will extract all word which marked need to translate from source code.

free feel to submit others language's change if its auto generated by command. or you can only pick which you want to submit in git.

I got bit confused in the autogenerate thing can u help me out?

moonrailgun commented 4 months ago

Hi, @Zaid-maker i am sorry for ignore this pr because a little busy recently, but why close this pr?

and for auto generate translation, i think we can follow this document. image

but as you know, chatgpt is not perfect, if you can help me to improve it, i think its very cool

Zaid-maker commented 4 months ago

I did follow the Translation guide but not very convenient

moonrailgun commented 4 months ago

ok this fine. can you tell me how about you think?

and if you have limited abilities, i can help you improve it after merge it. because i think now is ok, and we have same target is make tianji support more language.