printmyblog
printmyblog copied to clipboard
WPML integration
https://wpml.org/documentation/support/achieving-wpml-compatibility-for-your-themes-and-plugins/ https://wpml.org/documentation/support/debugging-theme-compatibility/ https://wpml.org/documentation/support/language-configuration-files/ https://wpml.org/documentation/related-projects/wpml-compatibility-test-tools-plugin/
Specifying language posts
- [x] show dropdown of all languages on project setup or meta
- [x] show dropdown of all languages on filters bar
- [x] use chosen filter while querying
- [x] add strings for translation
- [x] set language during export so strings properly translated
Auto transistor:
- [x] remove "language" on project setup page
- [x] when editing content, show original language by default
- [x] on generate page, show a dropdown for language (default to current language)
- [x] when changing that dropdown, send ajax request to update language on project, and add arg to generate ajax request
- [x] when generating, add the language to the filename
- [x] add translation step for project and design somehow...
- [x] add last few metas
notes: hooks https://wpml.org/documentation/support/wpml-coding-api/wpml-hooks-reference/#hook-4764333 under the hood https://wpml.org/documentation/support/wpml-tables/ go-global program https://wpml.org/documentation/support/go-global-program/