Open donaldzou opened 1 week ago
Hi @DaanSelen, when u are free, do you mind going through this PR and see if there's anything to improve and streamline the localization process?
Thank u!
I'll go through it, give me some time!
Yes I found out a bug in the python script that it escaped 2 back slashes when printed out. Need to figure that out :)
Yes I found out a bug in the python script that it escaped 2 back slashes when printed out. Need to figure that out :)
Did all things get resolved?
Yes I found out a bug in the python script that it escaped 2 back slashes when printed out. Need to figure that out :)
Did all things get resolved?
Yes, now what's left to do is fixing the empty translations that got replaced by the regex escaped keys:
"Sharing..." ==> "Sharing\.\.\."
The current script will insert the new translation and remove deprecated ones directly from the file.
How to use
python3 verify_locale_files.py
insrc/static/locale
Example