pkp / immersion

An official theme for OJS 3.1.1+
GNU General Public License v2.0
10 stars 23 forks source link

Display Stats and Issue Publication Date not matching locale #90

Open bokamm opened 2 months ago

bokamm commented 2 months ago

Describe the bug Using two locales (English and Japanese), the frontend does not pick up translations for months in the download stats of an article or the publication date of an issue (see screenshots).

To Reproduce Steps to reproduce the behavior:

  1. Activate additional locale/language
  2. Check frontend.

Expected behavior The publication date in Japanese should be 2024年5月1日 not 2024 May 1. The download graph should display Japanese months as in the locale language file (1月 2月 3月 etc., not Jan Feb Mar etc.).

Screenshots Publication date in Japanese

pubdate_ja

Publication date in English

pupdate_en

Downloads in Japanese

downloads_ja

System Information:

Browsers: Safari, Chrome, Firefox, DuckDuckGo (all newest versions, on macOS 14.4.1

Additional context I translated the plugin on weblate into Japanese, please integrate in future releases: https://translate.pkp.sfu.ca/projects/plugins/immersion/ja/ (I installed my translation locally for testing)

asmecher commented 2 months ago

Thanks, @bokamm! @Vitaliy-1, adding to your list to consider.