Bridging the Gap from Wordpress to Weblate
- Track: Translations
- Room: K.3.401
- Day: Sunday
- Start: 15:10
- End: 15:40
- Video only: k3401
- Chat: Join the conversation!
Localization of Wordpress content has many solutions, most of them in the form of Wordpress plugins that come with their own way of doing things and a lot of quirks. Weblate is a very mature solution that in our experience is a lot more reliable and easy to work with than any of these plugins. For our own CMS pages, we were wondering how to best explore this path and created a Deno- / TypeScript-based preprocessing tool that can extract messages from Wordpress Elementor pages for use in Weblate, as well as create localized variants of these pages using the Weblate translations as input. While we focus on the localization of Elementor pages in particular, we'll also touch on the subject of Gutenberg blocks due to their widespread use.
Note that this talk may be somewhat hard to apply to existing setups because of the preprocessing happening outside Wordpress, working under the assumption that you are fine regenerating static HTML whenever you want to "deploy" your Wordpress pages. On the positive side, it eliminates the need for any Wordpress caching tools!
Speakers
| Niklas Korz |