Skip to content

Commit

Permalink
README updates
Browse files Browse the repository at this point in the history
  • Loading branch information
fbergkemper committed Jun 29, 2016
1 parent 3a50a1d commit 5c8cbab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 0 additions & 4 deletions README.md
Expand Up @@ -26,7 +26,3 @@ The Bareos project offers two mailing lists: bareos-users and bareos-devel.
### BUGTRACKER

[http://bugs.bareos.org](http://bugs.bareos.org)

### CONTRIBUTE

Translation: [doc/README-TRANSLATION.md](doc/README-TRANSLATION.md)
10 changes: 6 additions & 4 deletions doc/README-TRANSLATION.md
Expand Up @@ -3,7 +3,7 @@ Bareos WebUI Translation

### Where do I find the translation files?

All translation files are located in module/Application/language.
File for translation are located in module/Application/language and public/js/locale.

### How should I edit translation files?

Expand All @@ -12,15 +12,17 @@ or simply install it from your distributions package repository if available.

### How to refresh webui.pot file, when some strings have been added, modified or removed from source files?

Run 'make update-pot' in modules/Application/language, which updates the webui.pot file.
Execute './configure' and run 'make update-pot' in modules/Application/language, which updates the webui.pot file.
Also you need to update public/js/local/webui-datatables.pot, run 'make update-pot' in
public/js/locale to achieve that.

### How to update an existing *.po file, when some strings have been added, modified or removed from source files?

After updating the webui.pot, please see above, run e.g. 'make update-po PO=en_EN.po' in modules/Application/language, which updates your given lang_LANG.po file and merges changes from webui.pot.
After updating the webui.pot, please see above, run e.g. 'make update-po PO=en_EN.po' in modules/Application/language, which updates your given lang_LANG.po file and merges changes from webui.pot. Use the same procedure for the po files located in public/js/local, take care of the subdirectories, run e.g. 'make update-po PO=en_EN/LC_MESSAGES/en_EN.po'.

### How do I add a new translation into language xyz?

Open webui.pot with poedit and choose from the dialog popup into which language you want to translate. You should also edit the relevant meta information on top. After you are done with translation, save the new file to xyz_XYZ.po and send us your patch by mail to gatekeeper@bareos.com or do a pull request on GitHub. If you are not familiar with git you can also send your edited *.po file by mail. The *.mo files will be generated by our build service, so no need to generate them by yourself and send them in.
Open webui.pot with poedit and choose from the dialog popup into which language you want to translate. You should also edit the relevant meta information on top. After you are done with translation, save the new file to xyz_XYZ.po and send us your patch by mail to gatekeeper@bareos.com or do a pull request on GitHub. If you are not familiar with git you can also send your edited *.po file by mail. The *.mo files will be generated by our build service, so no need to generate them by yourself and send them in. Do the analog for the files in public/js/locale.

### Where can I find further information?

Expand Down

0 comments on commit 5c8cbab

Please sign in to comment.