Skip to content

refactor(l10n): move language tag logic to backend - #6039

Open
elzody wants to merge 1 commit into
mainfrom
refactor/language-tag-logic
Open

refactor(l10n): move language tag logic to backend#6039
elzody wants to merge 1 commit into
mainfrom
refactor/language-tag-logic

Conversation

@elzody

@elzody elzody commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

As outlined in #6034, the Nextcloud language and locale settings to BCP 47 language tag conversion needs to be refactored so it's only located in one place; right now it's in two places, which is unmaintainable.

Moving this logic to the backend makes sense because it exists in two places when it should really exist in one. This keeps it maintainable. The backend is the natural place because requests to Collabora happen there, and the logic can be injected into the frontend via initial state.

Assisted-by: ClaudeCode:claude-sonnet-5

Checklist

  • Code is properly formatted
  • Sign-off message is added to all commits
  • Documentation (manuals or wiki) has been updated or is not required

Moving the Nextcloud language + locale to BCP 47 language tag logic to
the backend makes sense because it exists in two places when it should
really exist in one. This keeps it maintainable. The backend is the
natural place because requests to Collabora happen there, and the logic
can be injected into the frontend via initial state.

Assisted-by: ClaudeCode:claude-sonnet-5
Signed-off-by: Elizabeth Danzberger <elizabeth@elzody.dev>
@elzody elzody self-assigned this Sep 4, 2026
@elzody
elzody requested a review from juliusknorr as a code owner September 4, 2026 22:33
@elzody elzody added the 3. to review Ready to be reviewed label Sep 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Ready to be reviewed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant