Skip to content

Conversation

@SeferMirza
Copy link
Member

@SeferMirza SeferMirza commented May 12, 2025

Provide a way to;

  • write localized texts for both frontend and backend in a unified place
  • respond with localized error messages from api endpoints.
  • use UseRequestLocalization middleware and IStringLocalizer service

Requirements

  • enable certain languages
  • get language from header for a request
  • get language from client locale in ui
  • provide a language switch component and remember the choice in local storage
  • use given language for error messages
  • scan the whole project migrate all existing messages to localization file
  • also provide a way to bundle a localization file in baked (nuget and/or npm)
    packages

Tasks

  • learn .net localization feature
  • learn nuxt localization
  • add localization feature
  • take all exception messages and titles returned to client to resource
  • add localization plugin and add i18n to admin
  • add nfr test, sample localization and ui test
  • add accept-language header to requests
  • add i18n support to all component by default
  • localization and language switcher should be considered as different
    components and have separate specifications.
  • localize primevue
  • update release note

Additional Tasks

  • make new templates for github pr desc

@SeferMirza SeferMirza self-assigned this May 12, 2025
@cihandeniz cihandeniz changed the title Featrue / Localization Feature / Localization May 12, 2025
@SeferMirza SeferMirza closed this Jun 11, 2025
@SeferMirza SeferMirza force-pushed the feature/localization branch from 506d836 to 69340bc Compare June 11, 2025 14:28
@SeferMirza SeferMirza deleted the feature/localization branch June 11, 2025 14:33
@SeferMirza SeferMirza reopened this Jun 11, 2025
@SeferMirza SeferMirza marked this pull request as ready for review June 11, 2025 17:20
@SeferMirza SeferMirza merged commit c30a663 into mouseless:main Jun 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants