[PR #111] [CLOSED] Add language selector #10448

Closed
opened 2026-04-27 14:52:58 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/imputnet/cobalt/pull/111
Author: @Blobadoodle
Created: 4/8/2023
Status: Closed

Base: currentHead: add-language-selector


📝 Commits (7)

  • 1ff5940 add language picker
  • 83582eb Merge branch 'wukko:current' into add-language-selector
  • 5884771 clean up css a bit
  • 5fcf80a show correct language in html tag
  • b092fcd Merge branch 'current' into add-language-selector
  • 1c1b4ac Merge branch 'current' into add-language-selector
  • 859400a small css changes

📊 Changes

7 files changed (+103 additions, -5 deletions)

View changed files

📝 src/front/cobalt.css (+32 -0)
📝 src/front/cobalt.js (+31 -1)
📝 src/localization/languages/en.json (+2 -0)
📝 src/localization/manager.js (+3 -0)
📝 src/modules/pageRender/elements.js (+13 -0)
📝 src/modules/pageRender/page.js (+8 -3)
📝 src/modules/sub/utils.js (+14 -1)

📄 Description

this adds a simple language selector, that can be used to override the language sent by the browser, the ui isnt great though.
this also shows the correct language tag in the built html file
this should resolve #110 and resolve #93


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/imputnet/cobalt/pull/111 **Author:** [@Blobadoodle](https://github.com/Blobadoodle) **Created:** 4/8/2023 **Status:** ❌ Closed **Base:** `current` ← **Head:** `add-language-selector` --- ### 📝 Commits (7) - [`1ff5940`](https://github.com/imputnet/cobalt/commit/1ff5940375d0efd18b199a8c97085ead5bb9b262) add language picker - [`83582eb`](https://github.com/imputnet/cobalt/commit/83582ebd44c4c111d537dacd1d0897372e38914f) Merge branch 'wukko:current' into add-language-selector - [`5884771`](https://github.com/imputnet/cobalt/commit/5884771deaf68f01732bb042a000227a26db5f43) clean up css a bit - [`5fcf80a`](https://github.com/imputnet/cobalt/commit/5fcf80ab3e408f8f9cde3c66fade7921853ccf77) show correct language in html tag - [`b092fcd`](https://github.com/imputnet/cobalt/commit/b092fcddb84229c366b5a4469c966e5f0d1657eb) Merge branch 'current' into add-language-selector - [`1c1b4ac`](https://github.com/imputnet/cobalt/commit/1c1b4ac37d8ec8f1a5179e2c66ef8d29f71ec5fe) Merge branch 'current' into add-language-selector - [`859400a`](https://github.com/imputnet/cobalt/commit/859400af8f75cb7be4d1cf9498afed35eaf7b1a9) small css changes ### 📊 Changes **7 files changed** (+103 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/front/cobalt.css` (+32 -0) 📝 `src/front/cobalt.js` (+31 -1) 📝 `src/localization/languages/en.json` (+2 -0) 📝 `src/localization/manager.js` (+3 -0) 📝 `src/modules/pageRender/elements.js` (+13 -0) 📝 `src/modules/pageRender/page.js` (+8 -3) 📝 `src/modules/sub/utils.js` (+14 -1) </details> ### 📄 Description this adds a simple language selector, that can be used to override the language sent by the browser, the ui isnt great though. this also shows the correct language tag in the built html file this should resolve #110 and resolve #93 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-27 14:52:58 -05:00
Sign in to join this conversation.