You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project "inherited" a Korean translation after a fork. The previous developers used another tool. When I tried importing the project into Weblate, there was an issue with the Korean translation file. My workaround was to exclude the Korean translation through the settings -> files -> language filter.
Today I figured out by chance that the file contained U+0008 (backspace) characters because file(1) said the file was "UTF-8 Unicode text, with overstriking". After removing these characters, Weblate could handle the file fine.
Describe the solution you'd like
The error message I got was very vague and unspecific:
Could not parse 1 matched file. locales/ko-KR.yml: 'ReaderError' object has no attribute 'message'.
Instead of this I would have liked a more specific error message. Ideally something like
Could not parse 1 matched file. locales/ko-KR.yml: Line 42 contains Unicode characters that Weblate cannot handle.
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
The Korean translation file in question can be found here:
Describe the problem
My project "inherited" a Korean translation after a fork. The previous developers used another tool. When I tried importing the project into Weblate, there was an issue with the Korean translation file. My workaround was to exclude the Korean translation through the settings -> files -> language filter.
Today I figured out by chance that the file contained U+0008 (backspace) characters because
file(1)
said the file was "UTF-8 Unicode text, with overstriking". After removing these characters, Weblate could handle the file fine.Describe the solution you'd like
The error message I got was very vague and unspecific:
Instead of this I would have liked a more specific error message. Ideally something like
Describe alternatives you've considered
No response
Screenshots
No response
Additional context
The Korean translation file in question can be found here:
with overstriking (broken): https://akkoma.dev/FoundKeyGang/FoundKey/src/commit/87e1e658f2975fa07c1db7730b898047abaf4b63/locales/ko-KR.yml
without overstriking (fixed): https://akkoma.dev/FoundKeyGang/FoundKey/src/commit/7a94e9f2d5804b6331272cc5d9db2ff12d8fde05/locales/ko-KR.yml
The text was updated successfully, but these errors were encountered: