Releases: generoi/gds-content-translation
Releases · generoi/gds-content-translation
Release list
v1.0.6
Translation status admin
- New: Copy original. Each missing translation can now be created as a verbatim copy of the source language, with no machine translation involved — useful when the wording should stay put, and available even when DeepL is unconfigured or out of quota.
- The existing machine translation button is relabelled AI translation.
Both actions run through the same Polylang Pro pipeline, so blocks, internal links, post IDs, terms and metas are remapped to the target language, and the translation is created as a draft and opened in the editor. The copy path is gated on GeneroWP\ContentTranslation\MachineTranslation::isCopyAvailable() (Polylang Pro only), the AI path still on a configured service.
v1.0.5
Fixed
- Internal links now keep their query string and fragment when rewritten to another language.
url_to_postid()resolves on the path alone andget_permalink()rebuilds the URL from scratch, so a link like/konfiguroi/?tuote=window#tiedotlost everything after the path — on every frontend render, source language included. Covers both therender_block_datapath and Polylang's sync path (#2).
Developer
v1.0.4
Summary
- Add instant title search to the Content translation status admin table.
- Client-side filtering hides non-matching rows as you type — no page reload.
- Smart matching: case- and diacritic-insensitive, multi-word (all terms must match), with fuzzy subsequence fallback for typos.
- Live match count, clear button, Escape to reset, and empty-state row when nothing matches.
Test plan
- Open Polylang → Content translation status for a post type with many rows
- Typing in the search field instantly filters the table
- Multi-word queries narrow results (e.g.
contact about) - Clear and Escape restore the full list
v1.0.3
Summary
- Add Content translation settings admin page (Polylang submenu) to hide post types from the status dashboard tabs.
- Wire
BlockPostIdTranslationandMetaRulesinto plugin bootstrap for post/attachment ID sync and translatable post meta export. - Expand README with theme filter documentation for block rules, link URLs, post meta, and ACF field modes.
Test plan
- Polylang → Content translation settings saves hidden post types
- Hidden types no longer appear as tabs on Content translation status
- Machine translation still syncs block post IDs and exports configured post meta