October 8, 2020 at 3:14 pm #8146
I need to change the language of the date. Currently it is in English and my wordpress is in Catalan. Spanish would also be valid. I have not seen option in the configurationOctober 8, 2020 at 6:18 pm #8147
Thanks for the feedback. I’ll fix this in the next version.
AakashNovember 14, 2020 at 3:28 pm #8427
Very much agree! I need this too.
But in fact, obviously there is no need to add support for every language.
Just use Arabic numerals, you provide us with the variables of yy, mm, dd, and let us add the remaining characters and formats.
Or, you can use yyyy-mm-dd or other internationally accepted expressions without any vocabulary by default, so that everyone can understand even if their native languages are differentNovember 14, 2020 at 11:54 pm #8428
I still have this item in my todo list.
The plugin just displays whatever is available in the RSS feed. I think this feature is something which is beyond the scope of the plugin as the functionality of the reader is to display the RSS feed as is.
This translation can apply to anything like, title, description. Just translating only date would be the odd one out.
The ideal way would be the RSS feed has content in the required language.
But anyways, this idea is still active. I’ll consider the possible ways of understanding date time and i’ll have an option to convert it to WP language
AakashNovember 15, 2020 at 11:48 pm #8435
A good option would be to choose how to display the date. If it were with numbers, translations would not be necessary.
Is it possible to modify the code to make it show with numbers?November 16, 2020 at 12:39 am #8436
Of course, I believe that everyone uses their own native language as much as possible.
So as you said, the translation function is beyond the plugin. At least I don’t need translation function.
However, I use Chinese, and the RSS feed is completely Chinese. At this time, I checked the date display function and found that it displays the year and date in Arabic numerals, but it displays the month in English words.
So I think there may be something wrong with this.
That’s why I suggested that using Arabic numerals. This may be an easier solution to adapt to different languages.November 16, 2020 at 12:41 am #8437
If translation is not needed but if you want to change the date format then it is pretty simple.
Please edit the below line in
You can change
j F Yto the format as mentioned in the page below.
An example would be
d-m-Yto show date as
AakashNovember 16, 2020 at 12:53 am #8438
Now perfect. It appears in numbers. Thank youNovember 16, 2020 at 12:37 pm #8440
Cheers! It looks like you can delete this item from your todolist! XDNovember 16, 2020 at 4:13 pm #8442
Thanks everyone !January 22, 2021 at 10:03 pm #8872Luis van BarenParticipant
I really need to know how I can change the language… I understand that this is still on your to do list, but please let me know a quick fix for now… I need the Dutch language…January 23, 2021 at 1:10 am #8874
If your General -> “site language” is Dutch, then you can try the change below.
Plugin editor -> super-rss-reader/includes/feed.php
Replace line 149
$date = $item->get_date( 'j F Y' );
with below lines
$timestamp = $item->get_date( 'U' ); $date = date_i18n('j F Y', $timestamp);
This basically displays the date as per your website’s site langauge setting.
- You must be logged in to reply to this topic.