The effects of alcohol on
sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Untranslatable
✦ Summarize Topic
✦
✦
✦
AI is analyzing the discussion...
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 10, 2021 3:36 am
(@theigor)
New Member
Joined: 4 years ago
Plugin is breaking several rules in terms of good translation practice.
- It's using string concatenation instead of placeholders.
Because of this I end up with mixed order of words in sentences. For example in my language it looks as if someone would write "ago hours 3" in English. If string was using standard placeholders "%s ago" it would be easy to adjust in all languages.
- Not using built in translation functions like `_n` for plural form.
Asking if something is 1 or not is just not good enough to implement plural words.
- Maybe use `human_time_diff` from WordPress or if not suitable at least use translations strings the same way that they do?
Any chance these can get addressed? Because it is simply not possible to translate properly the way it's done now.
Support
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 10, 2021 5:26 pm
(@asti)
Illustrious Member
Joined: 8 years ago
Hi Igor,
You can use the Structure of Human Readable Date Format option More info here: https://wpdiscuz.com/docs/wpdiscuz-7/plugin-settings/general-settings/#structure-of-human-readable-date-format
Also, we may suggest you use the WordPress Date/Time Format. If you want to switch to WordPress Format, just enable the according option in the Dashboard > wpDiscuz > Settings > General Settings tab
Topic starter
Translate
▼
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
Show original
Translating...
Oct 11, 2021 12:07 am
(@theigor)
New Member
Joined: 4 years ago
I know about those options. I was talking more in terms of me contributing with translation over at translate.wordpress.org, it's just not possible to make a good translation.
That human readable time was just an example, there is more of this stuff.
Anyway here is the way plural forms are used in various languages:
http://docs.translatehouse.org/projects/localization-guide/en/latest/l10n/pluralforms.html?id=l10n/pluralforms
As you can see there are about 20 languages that have more than 2 forms and their output looks retarded when forced through "n != 1" rule.