Skip to content

feature/i18n web config#564

Open
halibiram wants to merge 4 commits intotapframe:devfrom
halibiram:feature/i18n-web-config
Open

feature/i18n web config#564
halibiram wants to merge 4 commits intotapframe:devfrom
halibiram:feature/i18n-web-config

Conversation

@halibiram
Copy link
Contributor

@halibiram halibiram commented Mar 3, 2026

Summary

  • Made NanoHTTP server pages (Addon and Repository Web Pages) i18n compatible.
  • Added Turkish translations for web configuration pages.
  • Escaped single quotes in JavaScript web UI translated strings to prevent syntax errors.
  • Ensure that the app-selected locale is used for NanoHTTPD web config pages instead of the device's default language.

Why

The web configuration pages for addons and repositories were previously using hardcoded text and the device's default language. This PR ensures that the web pages respect the app's selected language instead, providing a consistent localized experience for users accessing the configuration pages via their browser.

Testing

  • Manually verified that accessing the NanoHTTPD web configuration pages uses the correct translated strings based on the app's selected language.
  • Checked that changing the app language dynamically updates the web page language without needing a server restart.
  • Verified that single quotes in translations are properly escaped in the generated JavaScript.

Screenshots / Video (UI changes only)

No screen changes were made.

Breaking changes

No breaking changes were made.

Linked issues

No linked issues.

@halibiram halibiram marked this pull request as draft March 3, 2026 23:13
@halibiram halibiram marked this pull request as ready for review March 3, 2026 23:19
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.

1 participant