Skip to content

Latest commit

 

History

History

po

You can use Gtranslator or Lokalize to edit .po files.

Adding New Language

  1. Find your language's locale code.

Locale codes are typically of the form language[_territory], where language is an ISO 639 language code, territory is an ISO 3166 country code.

Source: https://wiki.archlinux.org/title/locale#Generating_locales

  1. Copy io.github.zefr0x.hashes.pot to <LOCALE CODE>.po
  2. Add the locale code to the LINGUAS file in an alphabetical order.

Management Using Meson

Generate the .pot file

Run the io.github.zefr0x.hashes-pot compile target:

meson compile -C builddir io.github.zefr0x.hashes-pot

Update .po files from current .pot file

Run the io.github.zefr0x.hashes-update-po compile target:

meson compile -C builddir io.github.zefr0x.hashes-update-po