The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

Filter by custom fields

Topic prefix

AI Assistant
Notifications
Clear all

Untranslatable

3 Posts
2 Users
0 Reactions
5,541 Views
 Igor
(@theigor)
Posts: 2
New Member
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
 
[#3261]

Plugin is breaking several rules in terms of good translation practice.

  1. 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.
  2. 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.
  3. 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.


 
Posted : 10/10/2021 3:36 am
Topic Tags
Asti
 Asti
(@asti)
Posts: 8257
Illustrious Member 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
 

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 


In case you want to say thank you! 🙂
We'd really appreciate if you leave a good review on the plugin page.
This is the best way to say thank you to this project and the support team.

 
Posted : 10/10/2021 5:26 pm
 Igor
(@theigor)
Posts: 2
New Member
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
 

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.


 
Posted : 11/10/2021 12:07 am