New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bench update-translations is broken #11738
Comments
I can confirm this! It is broken since a long time. Even more broken in 13-beta! see this issue This is a long broken |
@stephenBDT I'm running a thread on the forum about the issues of translating, If you want to check it out. https://discuss.erpnext.com/t/translation-not-working-for-custom-apps/64522 |
def write_csv_file(path, app_messages, lang_dict):
|
Description of the issue
I'm trying to update some translations after using the
get-untranslated
command, I edit the new file, when It's time to update the translation it crashes. I reported a month ago the error onget-untranslated
#11488 now It works getting the untranslated strings, but the next part of the process is broken.Seems to be related to the same issue of mismatch of types on opening and writing. It would be really nice for this to be fixed seems for over a year It has been impossible to do translations as explained in the documentation
It would be really important for a complete process to be tested before submitting a fix that leads to another road block, meaning exporting untranslated strings, translating, updating and seeing if they show up in the UI (Which I haven't been able to do)
Context information (for bug reports)
Output of
bench version
Steps to reproduce the issue
bench get-untranslated es ./my-trans
bench update-translations es ./my-trans.csv ./my-completed-trans.csv
Observed result
Expected result
Stacktrace / full error message
Additional information
Running under docker, with provided devcontainers set up.
The text was updated successfully, but these errors were encountered: