printmyblog icon indicating copy to clipboard operation
printmyblog copied to clipboard

WPML integration

Open mnelson4 opened this issue 3 years ago • 2 comments

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/

mnelson4 avatar Sep 06 '21 23:09 mnelson4

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

mnelson4 avatar Oct 18 '21 16:10 mnelson4

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/

mnelson4 avatar Oct 29 '21 16:10 mnelson4