pkp / pkp-lib

The library used by PKP's applications OJS, OMP and OPS, open source software for scholarly publishing.
https://pkp.sfu.ca
GNU General Public License v3.0
297 stars 442 forks source link

Use UI Language in Web and Announcement RSS2 Feeds #9910

Open bozana opened 4 months ago

bozana commented 4 months ago

In RSS2 feeds, in WebFeed and AnnouncementFeed plugin, we provide localized data, but the element language contains journal primary language. According to the https://www.rssboard.org/rss-language-codes:

The language employed in an RSS feed can be indicated in the language element,...

the language element should then also contain the UI language in the format ISO 639-1.

PRs: webFeed: https://github.com/pkp/webFeed/pull/3 ojs announcementFeed: https://github.com/pkp/ojs/pull/4368

bozana commented 1 month ago

Hi @jonasraoni, could you please review the PRs above? Thanks a lot!