[FOLIO-1629] Add "en_SE" ("English (Sweden)") to Lokalise Created: 28/Nov/18  Updated: 03/Jun/20  Resolved: 15/Jan/19

Status: Closed
Project: FOLIO
Components: None
Affects versions: None
Fix versions: None

Type: Story Priority: P2
Reporter: Cate Boerema (Inactive) Assignee: Peter Murray
Resolution: Done Votes: 0
Labels: chalmers_visit_nov, front-end, i18n, sprint54
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File screenshot-1.png    
Sprint:

 Description   

Purpose: Chalmers wants to have English as their display language but with Swedish date/time format. Right now we have just a single Locale setting (Settings > Organization > Language and localization) that determines both. Peter Murray has discovered that there is an is an international "en_SE" code defined for "English (Sweden)", so we just need to add that language to Lokalise.

Instructions: https://github.com/folio-org/folio-infrastructure/blob/master/lokalise-push/steps-for-adding-github-repo-to-lokalise.md

Scenarios:

  1. Scenario
    • Given the Locale setting at Settings > Organization > Language and localization
    • When en_SV is selected
    • Then:
      • Text in FOLIO should remain in English
      • Date time format (displayed, for example, on the Loans page (for due dates), the User record (last updated metadata)) should correspond to Swedish standards: 2018-11-28
      • Calendar in date pickers (e.g. on User record for expiration date) should use Swedish start day (Sunday is beginning of week)

Resources: http://www.localeplanet.com/icu/en-SE/index.html



 Comments   
Comment by Cate Boerema (Inactive) [ 10/Jan/19 ]

Hi Peter Murray do you have an update on this issue?

Comment by Peter Murray [ 10/Jan/19 ]

Sorry – accidentally dropped work on it. The "English – Sweden" language addition is https://github.com/folio-org/ui-organization/pull/202, and the language file pull requests are in CI testing as I type this.

Comment by Peter Murray [ 10/Jan/19 ]

Language files merged in.

To be honest, I don't know about two of the three bullets:

  • Date time format (displayed, for example, on the Loans page (for due dates), the User record (last updated metadata)) should correspond to Swedish standards: 2018-11-28

    • Calendar in date pickers (e.g. on User record for expiration date) should use Swedish start day (Sunday is beginning of week)

Perhaps the React International library will do that automatically. I guess we'll find out.

Comment by Cate Boerema (Inactive) [ 14/Jan/19 ]

Thanks Peter Murray! I don't see en_SE in folio_testing. When do you think it will become available for testing?

Comment by Peter Murray [ 14/Jan/19 ]

Merge request completed a couple hours ago, and the Sweden option is now in the localization settings. All three criteria (English labels, yyyy-mm-dd order, and start of week in the calendar pickers) all seem to function as requested.

Comment by Cate Boerema (Inactive) [ 15/Jan/19 ]

It does, indeed, work! Thanks so much Peter Murray! I'll close this issue.

Generated at Thu Feb 08 23:14:44 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.