groove6j
(kilometrs)
October 10, 2024, 9:00pm
1
Hello. I have one annoying problem and it seems to be related to language packs.
When a user makes a post, the timestamps everywhere show 0h, or after 0 days for some period of time (only while the date is relative). When I switch to another language, it’s all fine. I can’t figure out which strings should be changed. Any ideas?
Moin
October 10, 2024, 9:02pm
2
Which language is affected?
groove6j
(kilometrs)
October 10, 2024, 9:25pm
3
Latvian is affected. I tried English US and lithuanian and they were fine.
Moin
October 10, 2024, 9:33pm
4
I see that the translations for zero use 0 instead of %{count}. But I don’t know if this is the cause of the problem.
Do you use the same grammar for other numbers, like, for example, for 10? Then 0 would be shown instead of the actual count.
1 Like
groove6j
(kilometrs)
October 10, 2024, 9:57pm
5
It was the cause. Replacing 0 with %{count} actually solved the visible problem! Thanks!
Moin
October 10, 2024, 10:00pm
6
It would be really helpful for everyone if you could update the translations on Crowdin as well.
This document provides a guide on how to contribute translations to the Discourse platform using Crowdin.
Required user level: Anyone can contribute translations
Translating Discourse into different languages is essential for its global adoption. Contributing as a translator or proofreader is greatly appreciated and helps in making Discourse accessible to a broader audience.
Summary
This guide covers:
Translating Discourse using Crowdin.
Becoming a proofr…
Crowdin shows 33 strings where a variable is missing.
https://discourse.crowdin.com/editor/4/246/en-lv/24?view=comfortable&filter=basic&value=20&em
4 Likes
groove6j
(kilometrs)
October 11, 2024, 5:18am
7
I have made some translations. I will check Crowdin. Thanks for the help!
3 Likes