Utilities to extract translatable texts from the program and data files of of Endless Sky and its plugins. You can use it in an unofficial translatable version of Endless Sky. You need python3, and some convenient scripts run on sh.
A wrapper script to extract translatable texts from the sources of Endless Sky. This script uses xgettext.
Example:
% cmd/make_source_pot /usr/src/endless-sky/source > endless-sky-source.pot
A wrapper script to extract translatable texts from the data files of Endless Sky and its plugins. This script uses xgettext.endless_sky_data.
Example:
% cmd/make_data_pot /usr/src/endless-sky > endless-sky-data.pot
This program extracts translatable texts from the data files of Endless Sky and its plugins.
Example:
% cmd/xgettext.endless_sky_data -o endless-sky-data.pot *.txt
This program shows data files replaced translatable texts with translated. Note: Some texts, such as the outfit's and mission's names, are not replaced.
Example:
% cmd/check_translated_data -p endless-sky-data-ja.po *.txt | less