Search
Close
AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

Order of words for Datediff in french

2 Posts
2 Users
0 Reactions
1,835 Views
(@charlie)
New Member
Joined: 6 years ago
Posts: 1
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
  [#4796]

Hi,

Order of words for strings like "3 days ago" differs for some langages like french where we have "il y a 3 jours". 

Phrases page or locotranslate can't help with that.

I was able to override that for my personal case but I think it could be nice to have another way of translating this string, maybe with a var like "%s ago" so that we could do "il y a %s" in french



   
Quote
Elvina
(@elvina)
Support
Joined: 7 years ago
Posts: 1403
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 @charlie,

I'm sorry, but wpDiscuz doesn't have such a feature yet.

However, the feature will be added in the next version release.

For now, please follow the steps to get it resolved.

1. Below is the archived folder, please download the folder.

2. In the folder, you'll see the class.WpdiscuzHelper.php file.

3. Replace the file class.WpdiscuzHelper.php in the wp-content/plugins/wpdiscuz/utils/ directory with the file I've provided. 



   
ReplyQuote
Share:
Scroll to top