The first beta of GlotPress 4.0.0 was released on January 25, 2024!
This software is still in development. Consider setting up a test site just to play with the new version.
The beta can be downloaded from GitHub.
What’s Changed
The main improvements in this release are focused on:
- A new status: “changes requested” status.
- A new translation format: PHP (l10n.php).
- Improvements in the glossary matching with the original strings.
- Highlighted leading and trailing spaces, and double/multiple spaces in the middle.
- Added plural and plural forms labels to row previews and format the row editor accordingly.
- Improved the support for PHP8.0.
These are the lists with the new features, bugfixes and locales since GlotPress 3.0:
New features
- GlotPress now requires PHP 7.4. (#1417)
- Improve links to glossaries. Props @pedro-mendonca (#1375)
- Add a new status: changes requested (#1451). Currently, only available using the gp-translation-helpers plugin.
- Add “Last Modified” column to Glossary (#1428)
- Add word_count_type for each locale (#1482)
- Add the alphabet for each locale (#1479)
- Add a template for the PR (#1448)
- Add sort by original string length (#1449)
- Show the exact amount of spaces added or missing on the translation warnings (#1490)
- Glossary: Add sorting to table (#1426)
- Add characters and words counts to editor (#1478)
- Check the missing uppercase in the beginning of the translations (#1450)
- Explain when the wp_locale filed should be used (#1537)
- Add an action gp_after_project_form_fields to enable additional fields to be added (#1522)
- Get supported formats extensions dynamically (#1524)
- Set as old the previous translations with waiting status for this user (#1536)
- Highlight leading and trailing spaces, and double/multiple spaces in the middle (#1500)
- Add I18n to JavaScript (#1369)
- Add plural and plural forms labels to row previews and format the row editor accordingly (#1506)
- Reorder glossary row editor items (#1622)
- Add a filter for the classes of the translation table and an action after the translation table is displayed (#1665)
- Use filemtime to set the asset’s version (#1693)
- Move the highlight label from the active projects to the inactive (#1680)
- Add a Grunt action to set GP_SCRIPT_DEBUG to false when we deploy to wporg (#1697)
- Add templates for bug and feature report (#1713)
- Document how to use wp-env to run tests (#1776)
- Improve placeholders match and visibility (#1620)
- Change file extension for PHP format (#1774)
- Set the slug (#1768)
- Update readme.txt (#1773)
- Add Plugin Preview to GlotPress (#1748)
- Make it possible to run tests in PHP 8 (#1760)
- Add suffixes for matching glossary terms (#1373)
- Add new PHP format (#1626)
Bugfixes
- Enhance
gp_levenshtein()
for speed improvements. Props @dd32 (#1408)
- Highlight current navigation menu item. Props @pedro-mendonca (#1379)
- Fixes deprecation notice in PHP8 for usort returning bool (#1464)
- Fix warning discard link margin (#1455)
- Fix bulk rejection (#1486)
- Set as old the previous translations with changes requested (#1497)
- Update the Facebook locale for es_MX (#1538)
- Check JSON for double array to fix fatal error (#1569)
- Fix notice accessing undefined variable (#1582)
- Improve translation strings consistency and comments to translators (#1600)
- Fix PHP error for parameter after optional parameter (#1465)
- Combine the suffixes for shorter regular expression. (#1651)
- Increase the cache buster (#1661)
- Fix wordpress.org plugin deploy if the minified files are already built (#1662)
- Avoid adding the invisible classes in the glossary (#1664)
- Fix button margins (#1677)
- Remove the glossary tooltip inside the HTML tags (#1679)
- Correction of plurals parameters for Saraiki (#1682)
- Add a slash at the end of a requested URI (#1701)
- Filter the placeholders to show them with the glossary words (#1696)
- Avoid passing
null
to trim()
(#1698)
- Update a CSS comment that causes a build error (#1703)
- Check if the project slug exists and is not null (#1704)
- Add some properties in the translation-set to avoid deprecation notices (#1705)
- Resolve a bug with the glossary variations (#1706)
- Deprecation. Check if the preg_split parameter is null (#1709)
- Deprecation. Check if the ctype_digit parameter is null (#1708)
- Don’t set context to empty string by default (#1726)
- Glossary: Fix fatal array in PHP8 for invalid post data (#1750)
- Fix glossary matching left bounded by placeholder. (#1733)
- Remove unused files (#1723)
- Fix fatal error in PHP8.x for invalid get data (#1754)
Locales
- Add Tarifit locale (#1477)
- Correct de_AT country_code, add fa_AF country code. (#1491)
- Add locale en_IE / English (Ireland) (#1520)
- Add locale es_PA / Spanish (Panama) (#1521)
- Update plural expression for Kyrgyz (#1634)
- Shorten the slug for Valencia (Catalan) (#1635)
- Add a new locale: Andalusian (Andalûh) (#1729)
New Contributors
You can see the full changelog since the last stable version: 3.0.0…4.0.0-beta.1
#release