groove6j
(kilometrs)
10 أكتوبر 2024، 9:00م
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
10 أكتوبر 2024، 9:02م
2
Which language is affected?
groove6j
(kilometrs)
10 أكتوبر 2024، 9:25م
3
Latvian is affected. I tried English US and lithuanian and they were fine.
Moin
10 أكتوبر 2024، 9:33م
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)
groove6j
(kilometrs)
10 أكتوبر 2024، 9:57م
5
It was the cause. Replacing 0 with %{count} actually solved the visible problem! Thanks!
Moin
10 أكتوبر 2024، 10:00م
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 إعجابات
groove6j
(kilometrs)
11 أكتوبر 2024، 5:18ص
7
I have made some translations. I will check Crowdin. Thanks for the help!
3 إعجابات