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

GlotPress 3.0 released

Today I’m happy to announce that GlotPress 3.0 is now available!

It’s the first stable release after a long time and should hopefully be the beginning of more frequent updates in the future.

What’s Changed

Features

  • Various new locales like Ligurian, Tamazight, Nigerian Pidgin, Cornish, Western Balochi, and many more.
  • Three new translation warnings for mismatched URLs, missing named placeholders, and unexpected sprintf tokens.
  • Reduced reliance on default browser styles by adding and updating styles for form elements and links.
  • Unified and simplified styling for all tables.
  • Added ‘abbreviation’ as new part of speech value for glossary entries.
  • Added sort by option for modified date of translation.
  • Allow specifying the priority for PO import/exports in the flags.
  • Translation status filters are now a list of checkboxes for each status.

Bugfixes

  • Various fixes for improved plural support and naming fixes.
  • Fix removing of starting newline from translations.
  • Fix duplicate glossary tooltips for the same term.
  • Abort changing translation status when the translation has been altered.
  • Fix submitting a translation containing the UTF-8 characters → and ↵.
  • Improve calculation of translation status counts.
  • Show new lines and tab characters and wrap non-translatable items for strings with plurals too.
  • Use single quotes around string literals in SQL queries.

Breaking Changes

  • GlotPress now requires PHP 7.2 or newer and WordPress 4.6 or newer.
  • iOS .strings file import/exports now are UTF8 encoded instead of UTF16-LE.
  • Developers: Various template and design changes.
  • Developers: Various unused functions have been removed.

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

Thank you to everyone who helped make GlotPress 3.0 happen!

The next version will be GlotPress 3.1 and is currently scheduled for May 13, 2022. It will mostly focus on improvements around glossaries. If you are interested in helping to create the next versions of GlotPress, either by code or by feedback, please join us on GitHub here.

#release

GlotPress 2.3.1 Maintenance Release

GlotPress IconGlotPress 2.3.1 is now available for download or update in your WordPress dashboard!

This is a bugfix release addressing issues found in version 2.3.

Bugs fixed in this release:

  • #656: A locale glossary no longer requires a project glossary to exists to show terms of it.
  • #664: Querying translations by priority was broken, now fixed.
  • #673: An incorrect nonce check prevented locale glossary imports.
  • #675: Flushing an existing glossary on import works now as expected.

Enhancements in this release:

  • #655: A gp_locale_glossary_path_prefix filter has been added to allow filtering the locale glossary path prefix (/languages).

Thanks to all contributors of this release, namely Alex Kirk, Dominik Schilling, Greg Ross, and Yoav Farhi.

If you want to follow along or help out, check out our repository on GitHub.

#release, #wordpress-plugin

GlotPress 2.3 “Statler”

GlotPress Icon

We’re pleased to announce a new release of GlotPress.

Version 2.3 of GlotPress, named “Statler”, is now available for download or update in your WordPress dashboard.

The focus of this release was adding support for JSON formats and for glossaries per locale.

Highlights of this release:

  • Support for locale glossaries, a glossary for all projects of a locale.
  • Support for JSON format for JED and plain JSON, for imports and exports.
  • Ability to mark translations as fuzzy.
  • New keyboard shortcuts for copying original strings.
  • Extended meta data to all file formats that can support it.
  • Want to know more? Read the full changelog here.

Contributors of this release: Alex Kirk, Anton Timmermans, Dominik Schilling, Greg Ross, Nikhil, Pascal Birchler, Sergey Biryukov and Yoav Farhi.

If you want to follow along or help out, please check out our repository on GitHub.

#release, #wordpress-plugin

GlotPress 2.3 RC 1

The release candidate of GlotPress 2.3 is now available!

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

Since the first beta we’ve fixed four issues:

  • Allow project glossaries to override terms of a locale glossary. (#640)
  • Remove hardcoded ‘default’ slug which prevented locale gloassiers for locale variants. (#641)
  • During imports, don’t change status fuzzy to waiting if a translation has warnings. (#646)
  • Allow CLI imports to set the status of translations to current. (#644)

The release candidate can be downloaded from GitHub. For more information about what’s new in version 2.3, check out the beta 1 blog post.

If you think you’ve found a bug, you can post to the issue tracker on GitHub.

The final release is targeted for February 6th, 2017.

Happy testing!

#development, #release, #wordpress-plugin