@@ -125,6 +125,22 @@ various test cases and verify the expected behavior of the extension. The tests
...
@@ -125,6 +125,22 @@ various test cases and verify the expected behavior of the extension. The tests
organized into two directories: `tests` and `tests_tpsh`, each containing different
organized into two directories: `tests` and `tests_tpsh`, each containing different
sets of tests.
sets of tests.
### Internationalization
To enable internationalization of strings, follow these steps:
1. Ensure that you are in the appropriate environment and located within the extensions directory.
2. Run the following command:
```sh
python setup.py extract_messages
```
This command will generate a template PO file named `ckanext/odsh/i18n/ckanext-odsh.pot`. You can utilize tools like POEdit to work with this file.
For detailed instructions on internationalizing strings in extensions, refer to CKAN's official guide on [translating extensions](https://docs.ckan.org/en/latest/extensions/translating-extensions.html).
## Contributing
## Contributing
To contribute to this documentation, create a branch or fork this repository, make
To contribute to this documentation, create a branch or fork this repository, make