Closed yarons closed 8 months ago
Hi,
translations are community effort, you can help here: https://hosted.weblate.org/projects/stretchly/
Unfortunately, I don't speak Hebrew or Arabic so not sure how it should look like. PRs would be appreciated.
@hovancik I am translating this project already :) The problem is the RTL alignment and the fact that these terms are translated yet appear in the native language regardless, as you can see in the screenshots.
Gotcha, the syncing process to the app is manual, so new translations appear once I make a new version.
Hmmm I highly doubt that, this string was translated around 2 years ago: https://hosted.weblate.org/translate/stretchly/stretchly/he/?q=minutes&sort_by=-priority%2Cposition&checksum=#history And it was submitted to the repository: https://github.com/hovancik/stretchly/blob/7038e073e6048f6f55a292595fbdef01eec2e334/app/locales/he.json#L205 It looks like an i18n issue, I can't verify it with other languages but it does look like it.
Seems like we have it wrong?
"minutes_one": "דקה",
"minutes_two": "{{count}} דקות",
"minutes_many": "{{count}} דקות",
"minutes_other": "{{count}} דקות",
This https://jsfiddle.net/6bpxsgd4 suggests it should be _one, _two, _other
. But not sure why extra element would be an issue.
Ah, other languages have the same issue, will try to look at it. Do you remember if this was issue as well in previous versions?
So it seems it's not issue with i18next but with how I am refreshing translations after changing language. Can you try hitting Cmd+R after changing the language? For me I can see correct translations then:
Or after Stretchly restarts / Preferences gets reopened
I have found the issue and made a quick fix.
Thank you! What about the RTL glitches I've mentioned?
Could you please explain / show how the correct one should look like? It's hard for me to imagine what is wrong
The top bar is aligned to the left.
The text under the heart icon is LTR.
Settings should be rightmost, then Scheduling, Themes and About, while the support button should appear leftmost.
Regarding the text on the support button, this is the right form:
The current wrong layout is: תמיכה ב־Stretchly It looks like Stretchly Support instead of vice versa.
Also the speaker is too close to the text in the Theme tab.
Thanks :)
Thanks, regarding Support button, I guess translation should be changed? "heart": "תמיכה ב־Stretchly",
Others seems to fit:
Ah, I think I found it. Is this correct?
Great! It looks way better! The "Preferred language" box has its combobox arrow aligned to the right instead of left but I think it's a small price to pay after all the great job you've been doing, thank you :)
Thanks for all the feedback, I think I was able to fix the select as well :)
Thank you so much!
One last thing that I've noticed and I'm not sure it's possible to fix without setting the whole system to RTL:
The menus are left aligned on mac.
This is what I see on Linux, but no idea what the correct way is: From what I read in Electron docs, there is no such an option in Menus :(
Version
Known issues
Existing issues
Advanced Preferences
What operating system are you using?
macOS
Operating System Version
Sonoma 14.2.1
Reproduction steps
Reproduces how often: Always
Expected Behavior
Should align neatly
Actual Behavior
Some elements misbehave and some are not translated
The top bar is aligned to the left. The text under the heart icon is LTR. The words seconds and minutes are untranslated. The speaker icon is too close to the text.
Relevant log output
No response
Preferences
No response
Additional information
Code of Conduct