Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed various i18n inline python usage and updated python i18n strings (
datacommonsorg#4946) * Updated pybabel mapping configuration to include `shared_api/place.py` and `lib/i18n_messages.py` * Updated `i18n_messages.py` to include calls to `gettext` & translation descriptions so pybabel can automatically extract them. * Reverted `translate` calls back to `gettext` because the [pybabel](https://github.com/datacommonsorg/website/blob/master/scripts/extract_messages.sh#L36) extraction tool wasn't able to properly pull the messages from the python code. * Fixed {% trans %} calls in `server/templates/metadata/labels.html`
- Loading branch information