Skip to content

Commit

Permalink
Divvun Manager localisations
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Dec 20, 2023
1 parent 85204be commit 6193d0a
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions apps/AppLocalisation.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,32 @@ src/

# Divvun Manager

(macOS & Windows)
## macOS

TBW
See [the README](https://github.com/divvun/divvun-manager-macos). But it boils down to the following:

- edit the files in `Sources/Support/LocalisationResources/`
- run:

```sh
strut-icu-generate swift Support/LocalisationResources/base.yaml \
Support/LocalisationResources/{your other langs}.yaml \
-o .
```

## Windows

See [the README](https://github.com/divvun/divvun-manager-windows). But it boils down to the following:

- edit the relevant file in `DivvunInstaller/Strings.[your_lang].resx` (add a new for new languages)
- add your new language tag in `Divvun.Installer/UI/Settings/SettingsWindow.xaml.cs`

## Both

- language names: [make PR here](https://github.com/bbqsrc/iso639-databases)
- package names & descriptions:
- keyboards: add entries in `keyboard-XXX/XXX.kbdgen/project.yaml`
- spellers: add entries in `lang-XXX/manifest.toml.in` (not yet supported, so for the time being [edit the Pahkat entries directly](https://giellalt.github.io/apps/AppLocalisation.html#package-descriptions))

# DM One-click installer

Expand Down

0 comments on commit 6193d0a

Please sign in to comment.