During the last polyglots chat a seldom known feature has been brought up – *WordPress in all languages can have the WordPress News widget in the Dashboard display news from local sites (like http://pl.wordpress.org).*
This wasn’t really documented anywhere AFAIK so *plase push this post to the handbook*. The 2 strings described below should also have comments added, which I ask anyone to do.
In every install of WordPress there’s a WordPress News widget in the Dashboard (you can show and hide it under the Screen Options), which always displays 1 expanded, most recent post from the 1st RSS feed source (by default: blog post from https://wordpress.org/news/) and 3 post titles from the 2nd RSS feed source (by default: blog posts from https://planet.wordpress.org/).
You can change both of those RSS feed URLs to fetch news from other sources, like your local WordPress website.
The 2nd site is a “Planet” service, which is an automatic aggregator of blog posts from various WordPress sites. It’s not very likely that you have a Planet set up for your language – if not, you can eighter create it or provide the same URL for both sources, which results in 1 expanded post from that feed and – below – 3 most recent blog posts from the same feed (1st of which will be the same as the expanded one, but it’s the best option we’ve got). You can also set the 2nd feed URL to the English WordPress.org blog, but then the expanded post will be in your local language, and 3 post titles that follow will be in English. It’s your call.
To set the feed URLs, go to https://translate.wordpress.org/ and navigate to your language. Then, you will see all currently maintained versions of WordPress. Do the following steps for *all versions:* click the title that represents a version -> Administration -> Filter -> type “feed” in the Term field -> click the Filter button -> scroll down to see 2 strings that are URLs of feeds.
*Note:* do NOT set the translation of these strings to an empty string, a space bar, a # sign or the URL of your local WordPress site (like http://pl.wordpress.org for Polish). Read on.
The original “https://wordpress.org/news/feed/” string is the 1st described feed source. The 1st post from it is displayed in the Dashboard widget, in an expanded fashion. You most likely want to set this to your local, official WordPress site feed URL. Navigate to your local WordPress site to discover this URL (you might need to search for it in the site’s source code in the head section). For Polish, the feed URL is https://pl.wordpress.org/feed/
The original “https://planet.wordpress.org/feed/” string is the 2nd described feed source. The 3 most recent post titles from it are displayed in the Dashboard widget. You can translate this string to any other RSS or Atom feed URL. You most likely want to consider using:
- a Planet for WordPress feed in your language, if there is one,
- the same URL as for the 1st feed source, so pointing to the local WordPress.org site feed,
- the feed for the official English WordPress.org blog, which is: https://wordpress.org/news/feed/
- leaving the English Planet URL feed as it was: https://planet.wordpress.org/feed/
Remember to change these for all current WordPress versions, as described above.
After approving the string change, wait about 12-24 hours for translation propagation. After you update your translation files in WordPress, see if it works. If you still see the news in English, wait another 12 hours for the caching mechanism to refresh that content.