Skip to content

Commit

Permalink
Added a README in locales
Browse files Browse the repository at this point in the history
  • Loading branch information
jeblad committed Aug 22, 2021
1 parent 7348431 commit 22ecfb9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions locales/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Internationalization and localization

Generate new pot-file

```bash
xgettext -D . --output=pyhera.pot -L Python pyhera.py
```

or

```bash
xgettext --files-from=locales/POTFILES.in --language Python --output locales/pyhera.pot
```

Use poedit to open a file for editing, and then import the new pot-file.

0 comments on commit 22ecfb9

Please sign in to comment.