feat(i18n): add ui localization (#2279)

Co-authored-by: TheElixZammuto <6505622+TheElixZammuto@users.noreply.github.com>
This commit is contained in:
ReenigneArcher
2024-03-22 19:54:12 -04:00
committed by GitHub
parent 8316f44e10
commit 87774333f3
29 changed files with 4446 additions and 719 deletions

View File

@@ -47,6 +47,40 @@ editing the `conf` file in a text editor. Use the examples as reference.
`General <https://localhost:47990/config/#general>`__
-----------------------------------------------------
`locale <https://localhost:47990/config/#locale>`__
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**Description**
The locale used for Sunshine's user interface.
**Choices**
.. table::
:widths: auto
======= ===========
Value Description
======= ===========
de German
en English
en-GB English (UK)
en-US English (United States)
es Spanish
fr French
it Italian
ru Russian
sv Swedish
zh Chinese (Simplified)
======= ===========
**Default**
``en``
**Example**
.. code-block:: text
locale = en
`sunshine_name <https://localhost:47990/config/#sunshine_name>`__
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^