WordPress 5.1 String Changes in HTML/PHP Files

WordPress 5.1 BetaBeta A pre-release of software that is given out to a large group of users to trial under real conditions. Beta versions have gone through alpha testing in-house and are generally fairly close in look, feel and function to the final product; however, design changes often occur as part of the process. 3 is currently scheduled for release on January 29th. This release will also mark the soft string freeze point for the 5.1 release. A soft string freezeString freeze The term "string freeze" is used by the core team to mark the end of changes to the strings of an upcoming release. A string freeze also means that there will be no more strings added to the core project. Sometimes a string freeze has two phases a soft freeze and a hard freeze. A string freeze is announced on the Polyglots blog by the current release lead. means that no more new stringsString A string is a translatable part of the software. A translation consists of a multitude of localized strings. can be introduced or changed in the codebase. The only exception is the About page in the admin.

5.1 introduces some changes to files that cannot use gettext. These files will require manual translation and deployment from LocaleLocale Locale = language version, often a combination of a language code and a region code, for instance es_MX denotes Spanish as it’s used in Mexico. A list of all locales supported by WordPress in https://make.wordpress.org/polyglots/teams/ Managers with commit access on the /dist repositoryWordPress Localization Repository The WordPress Localization Repository at https://i18n.svn.wordpress.org/ is a Subversion repository where official WordPress translations are maintained. See Working with the Translation Repository for details..

wp-config-sample.php

In #41000, changes were made to replace “blog” and “Happy blogging” terms with “site” and “Happy publishing”.

In wp-config-sample.php, the following stringString A string is a translatable part of the software. A translation consists of a multitude of localized strings. will have to be translated within the inline PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. comment (so that non-English speakers are able to understand how to configure their WordPress site). This comment is located on line 82:

/* That's all, stop editing! Happy blogging. */

is replaced with:

/* That's all, stop editing! Happy publishing. */

readme.htmlHTML HTML is an acronym for Hyper Text Markup Language. It is a markup language that is used in the development of web pages and websites.

In the readme.html file, the term “blog” has also been replaced with “site”. This string occurs on line 29.

#44955 also introduced the lang attribute to the tag in the readme.html file (line 1). This is especially useful for users relying on assistive technologies to help indicate the primary language of the document.

Locale Managers with commit access must replace with the proper language tag or subtag. For example, the French (Belgium)” Locale would be .

You can find the correct tag/subtag to use for your Locale in the translation of html_lang_attribute string in GlotPressGlotPress GlotPress is the translation management software that powers Translate.WordPress.org. More information is available at glotpress.org.. Here is an example with en-GB.

How to deployDeploy Launching code from a local development environment to the production web server, so that it's available to visitors. your translations

To internationalize or localize components of WordPress that cannot use gettext, Locale Managers with commit access will need to replace the English version of the files with a manually translated version.

Then they have to commit them via the /dist directory in i18n.svn.wordpress.org.

Hard String Freeze and 5.1 Release

The hard string freeze for WordPress 5.1 will coincide with 5.1 RC1, which is currently scheduled for February 7th. A hard string freeze means that no more string changes will happen in the codebase, even on the About page.

The final release of WordPress 5.1 is currently scheduled for February 21, 2019.

You can read more about the schedule on the 5.1 Development Cycle page.

#5-1, #announcement