digitoimistodude/air-light

Make CPT & tax archive titles translatable

timiwahalahti opened this issue · 1 comments

Many SEO plugins like Yoast do get the page title from CPT labels. Currently, translations with that do not work, since CPT labels are not translatable.

We should do the following to always cover our base:

  • On CPT and tax registration, get the name label with ask__
  • Automatically add all CPT & tax names to string translations
  • Change the theme_setup priority to higher, in order to have Polylang and companions loaded before ask__ usage is being tried