GlotPress (original) (raw)
GlotPress 4.0.0 was released on March 7, 2024, and it is available on the official repo!
What’s Changed
Features
- Update minimum required PHP version to 7.4 by @ocean90 in #1417
- Update the minimum PHP version to 7.4 in composer.json and phpcs.xml.dist file by @ocean90 in #1419
- Add CSS to current navigation menu item by @pedro-mendonca in #1379
- Speed improvement for gp_levenshtein(). by @dd32 in #1408
- Improve Glossaries links by @pedro-mendonca in #1375
- Add a Grunt watcher to uglify JavaScript and/or to minify CSS by @amieiro in #1432
- Add preset file types for upload by @pedro-mendonca in #1445
- Adds a warning for added or removed spaces at the beginning or at the end of the translation by @amieiro in #1427
- Added sort by string length by @CWBudde in #1449
- Add a template for the PR by @amieiro in #1448
- Add the alphabet for each locale by @amieiro in #1479
- Add a npm command to automatically fix the potentially fixable errors by @amieiro in #1459
- Add word count type to each Locale by @pedro-mendonca in #1482
- Add “Last Modified” column to Glossary by @pedro-mendonca in #1428
- Add a new status: changes requested by @amieiro in #1451
- Show the exact amount of spaces added or missing on the translation warnings by @pedro-mendonca in #1490
- Add Glossary sorting by @pedro-mendonca in #1426
- Add characters and words counts to editor by @pedro-mendonca in #1478
- Check the missing uppercase in the beginning of the translations by @amieiro in #1450
- Add an action gp_after_project_form_fields to enable additional fields to be added by @2ndkauboy in #1522
- Get supported formats extensions dynamically by @pedro-mendonca in #1524
- Highlight leading and trailing spaces, and double/multiple spaces in the middle by @pedro-mendonca in #1500
- Add I18n to JavaScript by @pedro-mendonca in #1369
- Add plural and plural forms labels to row previews and format the row editor accordingly by @pedro-mendonca in #1506
- Reorder glossary row editor items by @pedro-mendonca in #1622
- Combine the suffixes for shorter regular expression. by @dd32 in #1651
- Build the minified assets before WP.org deploy by @pedro-mendonca in #1654
- Add a filter for the classes of the translation table and an action after the translation table is displayed by @amieiro in #1665
- Use filemtime to set the asset’s version by @amieiro in #1693
- Add a slash at the end of a requested URI by @amieiro in #1701
- Add a Grunt action to set GP_SCRIPT_DEBUG to false when we deploy to wporg by @amieiro in #1697
- Move the highlight label from the active projects to the inactive by @amieiro in #1680
- Add templates for bug and feature report by @amieiro in #1713
- Add new PHP format by @swissspidy in #1626
- Change file extension for PHP format by @swissspidy in #1774
- Add suffixes for matching glossary terms by @pedro-mendonca in #1373
- Make it possible to run tests in PHP 8 by @psrpinto in #1760
- Add Plugin Preview to GlotPress by @trymebytes in #1748
- Improve placeholders match and visibility by @pedro-mendonca in #1620
- Document how to use wp-env to run tests by @psrpinto in #1776
- Add a ‘gp_before_translation_table’ hook by @amieiro in #1792
- Breadcrumbs: Improve consistency across all content types by @pedro-mendonca in #1789
- Add trailing slash to current_url to fix matching URLs without trailing slash by @pedro-mendonca in #1785
- Add the breadcrumbs for the “New project” actions by @amieiro in #1800
- Improve translation strings consistency and comments to translators by @pedro-mendonca in #1600
- Update package-lock.json by @pedro-mendonca in #1452
- Improve the PR template by @amieiro in #1641
- Remove unused files by @amieiro in #1723
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
totrim()
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
- Correct de_AT country_code, add fa_AF country code. by @dd32 in #1491
- Add locale en_IE / English (Ireland) by @2ndkauboy in #1520
- Add locale es_PA / Spanish (Panama) by @2ndkauboy in #1521
- Update the Facebook locale for es_MX by @amieiro in #1538
- Add Tarifit locale by @ipshel in #1477
- Change kir /ky/ plural settings to same as for English by @tobifjellner in #1634
- Update the slug for the Valencia (Catalan) language by @amieiro in #1635
- Correction of plurals parameters for Saraiki by @tobifjellner in #1682
- Add a new locale: Andalusian (Andalûh) by @amieiro in #1729
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!
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
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
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
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
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
totrim()
(#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
- @CWBudde made their first contribution in #1449
- @afragen made their first contribution in #1464
- @trymebytes made their first contribution in #1488
- @2ndkauboy made their first contribution in #1520
- @ipshel made their first contribution in #1477
- @NekoJonez made their first contribution in #1608
- @samuelsidler made their first contribution in #1677
- @psrpinto made their first contribution in #1760
You can see the full changelog since the last stable version: 3.0.0…4.0.0-beta.1
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:
- January 25, 2024 – Beta (4.0.0-beta.1 and 4.0.0-beta.2 already released).
- February 26, 2024 – Release Candidate.
- March 7, 2024 – Final release, trying to do it in the Contributor Day at WordCamp Asia 2024.
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.
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.
- Welcomes.
- Monthly stats.
- Issues: 128 open (+3) (4 since last meeting), 6 closed (+1).
- Pull requests: 23 open (-8), 21 new since last meeting (-5), (16 closed: 15 merged, and 1 rejected).
- We have 16 new PR/commits (+14) merged since last meeting:
- Releases:
- We don’t have new releases.
- Review PR. These are the proposed PR to review today:
- Ready to be merged.
* Highlight leading and trailing spaces, and double/multiple spaces in the middle #1500.
* Router: Fix notice accessing undefined variable #1582.
* Improve translation strings consistency and comments to translators #1600.
* Fix PHP error for parameter after optional parameter #1465.
* Local: Jump to next #1595.
* Local: Add a Locally deploy translations button #1603.
* Add plural and plural forms labels to row previews and format the row editor accordingly #1506.
* Add I18n to JavaScript #1369. - Improve i18n of validation error messages #1370.
- Add suffixes for matching glossary terms #1373.
- Ready to be merged.
- Open floor.
If you have any additions to the agenda, please share them in the comments.
#biweekly-meetings, #meeting, #weekly-meetings
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.
- Welcomes.
- Monthly stats.
- Issues: 125 open (+4) (8 since last meeting), 5 closed (+1).
- Pull requests: 31 open (+5), 26 new since last meeting (+20), (17 closed: 10 merged, mostly in the “Local GlotPress” improvement, and 7 rejected).
- We have 2 new PR/commits (-7) merged since last meeting:
- Releases:
- 4.0.0-alpha.4. These are the changes and here you can see them grouped by features, bugfixes and locales.
- Show the “Local GlotPress” status.
- Review PR. These are the proposed PR to review today:
- Add plural and plural forms labels to row previews and format the row editor accordingly #1506.
- Highlight leading and trailing spaces, and double/multiple spaces in the middle #1500.
- Merge the GlotDict hotkeys in GlotPress #1456.
- Set as old the previous translations with waiting status for this user #1536.
- Fix PHP error for parameter after optional parameter #1465.
- Next meeting will be on Wednesday, April 5, 2023, 9:00 UTC.
- Open floor.
If you have any additions to the agenda, please share them in the comments.
#biweekly-meetings, #meeting, #weekly-meetings
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.
- Welcomes.
- Monthly stats.
- Issues: 122 open (-1) (3 since last meeting), 4 closed (+3).
- Pull requests: 26 open (-6), 6 new since last meeting (+3), (2 closed: 0 merged and 2 rejected).
- We have 9 new PR/commits (+8) merged since last meeting:
- Get supported formats extensions dynamically #1524.
- Add an action gp_after_project_form_fields to enable additional fields to be added #1522.
- Locales: Add Tarifit locale #1477.
- Add locale es_PA / Spanish (Panama) #1521.
- Add locale en_IE / English (Ireland) #1520.
- Update the Facebook locale for es_MX #1538.
- Bump @wordpress/scripts from 24.3.0 to 24.6.0 #1526.
- Bump loader-utils from 2.0.2 to 2.0.4 #1525.
- Bump yoast/phpunit-polyfills from 1.0.3 to 1.0.4 #1528.
- Releases:
- We don’t have any new release.
- Next meeting will be on Wednesday, February 8, 2023, 8:00 UTC.
- Open floor.
If you have any additions to the agenda, please share them in the comments.
#biweekly-meetings, #meeting, #weekly-meetings
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.
- Welcomes.
- Monthly stats.
- Issues: 123 open (+2) (2 since last meeting), 0 closed (-1).
- Pull requests: 32 open (+3), 3 new since last meeting (-8), (1 closed: 1 merged and 0 rejected).
- We have 1 new PR/commits (+0) merged since last meeting:
- Releases:
- We don’t have any new release.
- Review PR. These are the proposed PR to review today:
- Language requests
* Locales: Add Tarifit locale #1477.
* Add locale en_IE / English (Ireland) #1520.
* Add locale es_PA / Spanish (Panama) #1521.
* Update the Facebook locale for es_MX #1538 - Get supported formats extensions dynamically #1524.
- Add an action gp_after_project_form_fields to enable additional fields to be added #1522.
- Add plural and plural forms labels to row previews and format the row editor accordingly #1506.
- Highlight leading and trailing spaces, and double/multiple spaces in the middle #1500.
- Merge the GlotDict hotkeys in GlotPress #1456.
- Language requests
- Next meeting will be on Wednesday, January 11, 2023, 8:00 UTC.
- Open floor.
If you have any additions to the agenda, please share them in the comments.