-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
fix: Update Swedish translation file #44
Conversation
a428654
to
0a8ac5b
Compare
I think the lv_i18n tool is generating wrong code that must be manually corrected, especially all translations that contain a \n must be enclosed in double quotes. |
Some git schenanigans going on as per usual 😂 It's probably time for me to reboot my pc I think I managed to add |
Whether there are errors (wrongly punctuated strings with escaped characters) from previous versions, then what happens is that when we run ExamplesExample 1From: To: Example 2From: To: Once it's fixed and done correctly by using double quotes " around keywords with escaped characters, then it will not do that problem again on next The current problem arises because lv_i18n is currently struggling to produce the correct punctuation marks. I hope this makes sense. |
I think I saw that when I run the lv_i18n extract again then it does not identify the existing/changed double quote translations as existing keys in its database but instead adds another set of translations from the sources again without the \n in the style you mentioned above. Correct me if I'm wrong. |
You are absolutely right that this happens. I just re-tested the extraction against the By the way, I recently came across this PR: lvgl/lv_i18n#68. I'm wondering how relevant it is to our issue. |
yeah, it's lvgl/lv_i18n#66 exactly |
Updated the Swedish translation file
se.yml
.adjusted ordering and formatting to match
en.yml
primarily the role indications are not directly translated to swedish