GlotPress 4.0.0 released

GlotPress 4.0.0 was released on March 7, 2024, and it is available on the official repo!

What’s Changed

Features

Bugfixes

  • Fix readme duplicate strings and update links by @pedro-mendonca in #1406
  • Add missing text domain by @pedro-mendonca in #1410
  • Fixes deprecation notice in PHP8 for usort returning bool by @afragen in #1464
  • Bulk status change: Fix bulk rejection by @dd32 in #1486
  • Set as old the previous translations with changes requested by @amieiro in #1497
  • Check JSON for double array to fix fatal error by @trymebytes in #1569
  • Set as old the previous translations with waiting status for this user by @amieiro in #1536
  • Router: Fix notice accessing undefined variable by @akirk in #1582
  • Fix PHP error for parameter after optional parameter by @afragen in #1465
  • Fix including the minified assets in the WP.org deploy by @akirk in #1655
  • Translation errors by @amieiro in #1644
  • Fix wordpress.org plugin deploy if the minified files are already built by @akirk in #1662
  • Avoid adding the invisible classes in the glossary by @amieiro in #1664
  • Fix button margins by @samuelsidler in #1677
  • Remove the glossary tooltip inside the HTML tags by @amieiro in #1679
  • Avoid passing null to trim() by @swissspidy in #1698
  • Add some properties in the translation-set to avoid deprecation notices by @amieiro in #1705
  • When creating a new project, check if the project slug exists and is not null by @amieiro in #1704
  • Filter the placeholders to show them with the glossary words by @amieiro in #1696
  • Resolve a bug with the glossary variations by @amieiro in #1706
  • Don’t set context to empty string by default by @amieiro in #1726
  • Glossary: Fix fatal array in PHP8 for invalid post data by @akirk in #1750
  • Fix glossary matching left bounded by placeholder. by @pedro-mendonca in #1733
  • Fix fatal error in PHP8.x for invalid get data by @amieiro in #1754
  • Solve some warnings with the glossary suffixes by @amieiro in #1779
  • Glossary: Match single word entries of parts of speech that have no suffix rules. by @pedro-mendonca in #1791
  • Fix redirecting URL with query args by @pedro-mendonca in #1797
  • Make the glossary regex more deterministic by @akirk in #1801
  • Deprecation. Check if the ctype_digit parameter is null by @amieiro in #1708
  • Deprecation. Check if the preg_split parameter is null by @amieiro in #1709

Locales

Breaking Changes

  • GlotPress now requires PHP 7.4 or newer.
  • Developers: Various template and design changes.

For a full list and details of the changes, please review the changelog file.

Thank you to everyone who helped make GlotPress 4.0.0 happen!

#release

GlotPress 4.0.0 RC 1

The first release candidate of GlotPress 4.0.0 was released on March 4, 2024!

This software is still in development. Consider setting up a test site just to play with the new version.

The RC can be downloaded from GitHub.

What’s Changed

We don’t have any changes in this release.

You can see the full changelog since the last beta version: 4.0.0-beta.3…4.0.0-rc.1

#release

GlotPress 4.0.0 Beta 3

The third beta of GlotPress 4.0.0 was released on February 28, 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

This third beta adds a new feature and 6 bugfixes:

Features

  • Add a ‘gp_before_translation_table’ hook by @amieiro in #1792

Bugfixes

  • Breadcrumbs: Improve consistency across all content types by @pedro-mendonca in #1789
  • Glossary: Match single word entries of parts of speech that have no suffix rules. by @pedro-mendonca in #1791
  • Add trailing slash to current_url to fix matching URLs without trailing slash by @pedro-mendonca in #1785
  • Fix redirecting URL with query args by @pedro-mendonca in #1797
  • Add the breadcrumbs for the “New project” actions by @amieiro in #1800
  • Make the glossary regex more deterministic by @akirk in #1801

You can see the full changelog since the last beta version: 4.0.0-beta.2…4.0.0-beta.3

#release

GlotPress 4.0.0 Beta 2

The second beta of GlotPress 4.0.0 was released on January 26, 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

This second beta only adds two bugfixes:

  • Remove Tour code in favor of using the dedicated Tour plugin by @trymebytes in #1745
  • Solve some warnings with the glossary suffixes by @amieiro in #1779

You can see the full changelog since the last beta version: 4.0.0-beta.1…4.0.0-beta.2

#release

GlotPress 4.0.0 Beta 1

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

GlotPress 4.0 release schedule

GlotPress 3.0 was released on Apr 9, 2022. Since then, we have added a lot of functionalities to GlotPress, and we have released 11 alpha versions.

In this post, I set the 4.0 release schedule:

The current list and status of 4.0 issues and pull requests is available on GitHub. Feel free to drop by our Slack channel (#glotpress) during our weekly office hours (or any other time) if you have any questions or input to these or anything else.

GlotPress 4.0 will introduce several significant features, and we encourage everyone to try out the beta when it is released, especially those that have built plugins or custom themes, as both may require changes to be compatible with the release.

#release

Agenda: Monthly GlotPress Chat – April 19, 2023 (8:00 UTC)

Here’s the agenda for our monthly chat (each 4 weeks).

This meeting will be held at Wednesday, April 19, 2023, 8:00 GMT in the #glotpress channel in the Making WordPress Slack.

If you have any additions to the agenda, please share them in the comments.

#biweekly-meetings, #meeting, #weekly-meetings

Agenda: Monthly GlotPress Chat – March 8, 2023 (8:00 UTC)

Here’s the agenda for our monthly chat (each 4 weeks).

This meeting will be held at Wednesday, March 8, 2023, 8:00 GMT in the #glotpress channel in the Making WordPress Slack.

If you have any additions to the agenda, please share them in the comments.

#biweekly-meetings, #meeting, #weekly-meetings

Agenda: Monthly GlotPress Chat – January 11, 2023 (8:00 UTC)

Here’s the agenda for our monthly chat (each 4 weeks).

This meeting will be held at Wednesday, January 11, 2023, 8:00 GMT in the #glotpress channel in the Making WordPress Slack.

If you have any additions to the agenda, please share them in the comments.

#biweekly-meetings, #meeting, #weekly-meetings

Agenda: Monthly GlotPress Chat – December 13, 2022 (8:00 UTC)

Here’s the agenda for our monthly chat (each 4 weeks).

This meeting will be held at Wednesday, December 13, 2022, 8:00 GMT in the #glotpress channel in the Making WordPress Slack.

If you have any additions to the agenda, please share them in the comments.

#biweekly-meetings, #meeting, #weekly-meetings