DeanRTaylor1 / Gerp

MIT License
2 stars 1 forks source link

[feature] Localization/Internationalisation #9

Open DeanRTaylor1 opened 9 months ago

DeanRTaylor1 commented 9 months ago

User Story

As a user, I want to be able to use the website in my own language so that I can be productive.

Acceptance Criteria

  1. Front-End Implementation Steps

    • Step 1: Add i18n/internationalisation framework
    • Step 2: Configure base messages
    • Step 3: Ensure all text is added to the page via the localisation framework
    • Step 4: Allow users to change the language
    • Step 5: Implement language selection UI (e.g., dropdown menu, flags, language switcher).
    • Step 6: Ensure that the selected language preference is saved for returning users (consider using cookies or local storage).
    • Step 7: Test the UI in different languages for layout and design consistency.
  2. Back-End Implementation Steps

    • Step 1: Add i18n/Localisation framework
    • Step 2: Setup json/yaml/toml files
    • Step 3: Update Respond function to call i18n/localisation
    • Step 5: Ensure that error messages and other dynamic texts are localized.
    • Step 6: Set up a default/fallback language for missing translations.
    • Step 7: Create middleware to get/set localisation languaeg
DeanRTaylor1 commented 9 months ago

FE -done