mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2026-11-02 02:42:08 +00:00
109 lines
4.3 KiB
JSON
109 lines
4.3 KiB
JSON
{
|
|
"meta": {
|
|
"title": "Change Language | ProxMenux Documentation",
|
|
"description": "Choose from eight ProxMenux interface languages. Every installation includes pre-generated JSON translation catalogs; no translation service or Python environment is needed on the host. The menu reloads automatically.",
|
|
"ogTitle": "Change Language | ProxMenux Documentation",
|
|
"ogDescription": "Pick one of eight ProxMenux interface languages from Settings. Available on every installation."
|
|
},
|
|
"header": {
|
|
"title": "Change Language",
|
|
"description": "Switch the ProxMenux interface between eight supported languages. The choice is saved to config.json and the menu is restarted in the new language. Every installation includes the translation catalogs.",
|
|
"section": "Settings"
|
|
},
|
|
"intro": {
|
|
"title": "What this is",
|
|
"body": "A dialog lists the eight supported languages. ProxMenux saves your choice to <code>config.json</code> as <code>.language</code>, then restarts <code>config_menu.sh</code> so it takes effect immediately."
|
|
},
|
|
"warn": {
|
|
"title": "Available on every installation",
|
|
"body": "Settings always shows Change Language. Translation catalogs are installed in <code>/usr/local/share/proxmenux/lang/</code>, <em>and</em> the selected language is stored in <code>config.json</code>. No legacy Python translation environment is required."
|
|
},
|
|
"supported": {
|
|
"heading": "Supported languages",
|
|
"headerCode": "Code",
|
|
"headerLang": "Language",
|
|
"headerNotes": "Notes",
|
|
"rows": [
|
|
{
|
|
"code": "en",
|
|
"lang": "English",
|
|
"notes": "Source language — most accurate"
|
|
},
|
|
{
|
|
"code": "es",
|
|
"lang": "Spanish",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "fr",
|
|
"lang": "French",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "de",
|
|
"lang": "German",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "it",
|
|
"lang": "Italian",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "pt",
|
|
"lang": "Portuguese",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "sk",
|
|
"lang": "Slovak",
|
|
"notes": "Pre-generated JSON catalog"
|
|
},
|
|
{
|
|
"code": "sv",
|
|
"lang": "Swedish",
|
|
"notes": "Pre-generated JSON catalog"
|
|
}
|
|
]
|
|
},
|
|
"englishTip": {
|
|
"title": "English is the most accurate",
|
|
"body": "Non-English text comes from pre-generated JSON catalogs included with ProxMenux. Missing translations fall back to English; there is no live translation call on the host. English remains the reference when a translation seems incorrect."
|
|
},
|
|
"underHood": {
|
|
"heading": "How it works under the hood",
|
|
"items": [
|
|
"The dialog lists eight language codes; choose one.",
|
|
"If <code>config.json</code> exists: <code>jq --arg lang \"$new_language\" '.language = $lang''</code> updates the field in place.",
|
|
"If <code>config.json</code> doesn't exist: a fresh one is created with the language code in a single-field object.",
|
|
"Confirmation dialog: <em>\"Language changed to [code]\"</em>.",
|
|
"<code>exec bash config_menu.sh</code> reloads the Settings menu with the new language active."
|
|
]
|
|
},
|
|
"manual": {
|
|
"heading": "Manual equivalent"
|
|
},
|
|
"troubleshoot": {
|
|
"heading": "Troubleshooting",
|
|
"noOptionTitle": "Option doesn't appear in Settings",
|
|
"noOptionBody": "Change Language is always available in current releases. If it is missing, update ProxMenux using the official installer and open Settings again.",
|
|
"stillEnglishTitle": "Language changed but UI still shows English",
|
|
"stillEnglishBody": "The menu re-execs itself after the change. If you opened a fresh shell and started a different ProxMenux entrypoint, run <code>menu</code> again to pick up the new language. Confirm: <code>jq -r '.language' /usr/local/share/proxmenux/config.json</code>."
|
|
},
|
|
"related": {
|
|
"heading": "Related",
|
|
"items": [
|
|
{
|
|
"href": "/docs/settings/show-version-information",
|
|
"label": "Show Version Information",
|
|
"tail": " — confirms the release channel, translation files and current language."
|
|
},
|
|
{
|
|
"href": "/docs/settings",
|
|
"label": "Settings overview",
|
|
"tail": "."
|
|
}
|
|
]
|
|
}
|
|
}
|