umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Added russian locale (reopened pr#1902)

Open navanin opened this issue 9 months ago • 2 comments

So, I accidentally closed my previous PR #1902, so I'm reopening it.

This pull request adds Russian localization for UmbrelOS. Сomments and review are welcome!

navanin avatar Jan 31 '25 15:01 navanin

And of course, the translation was updated, since six months have passed since the previous PR

navanin avatar Jan 31 '25 15:01 navanin

So, since maintainers are not so active with the merge request, I offer those who are eager to try Russian the following workaround:

  1. Go to the directory /usr/local/lib/node_modules/umbreld/ui/locales in an existing UmbrelOS installation
  2. Locate existing localization files, for example: de.json, en.json, tk.json, etc.
  3. Replace the contents of any of the files with the contents of the packages/ui/public/locales/ru.json file from merge request
  4. Restart umbreld using the command systemctl restart umbreld
  5. Go to UmbrelOS UI and change the language to the one whose localization file you changed.

Mapping between localization files and OS languages:

  • en.json: 'English',
  • de.json: 'German'
  • es.json: 'Spanish'
  • fr.json: 'French'
  • it.json: 'Italian'
  • ja.json: 'Japanese'
  • nl.json: 'Dutch'
  • pt.json: 'Portuguese'
  • tr.json: 'Turkish'
  • uk.json: 'Ukrainian'
  • hu.json: 'Hungarian,
  • ko.json: 'Korean'

navanin avatar Feb 03 '25 08:02 navanin