playground-tools icon indicating copy to clipboard operation
playground-tools copied to clipboard

Add "Site Language" option to WordPress Playground Block

Open nguyenquanghoang opened this issue 1 year ago • 3 comments

Problem: My users use Vietnamese, This will help them access quickly and easily (This is the same for users from other countries, They will need to use their native language)

Image

It would be even better if it allowed to choose the default language right in the Block options

nguyenquanghoang avatar Dec 31 '24 08:12 nguyenquanghoang

Matt Mullenweg said at the State of the Word 2024 - Tokyo event that: WordPress sites using languages ​​other than English are expected to surpass English-language sites by 2025. Therefore, the default WordPress Playground Block should have a "Site Language" option, Users need to use localization.

nguyenquanghoang avatar Jan 05 '25 22:01 nguyenquanghoang

Currently when running WordPress Playground Block There is no "Site Language" item to select localization language

Image

nguyenquanghoang avatar Jan 08 '25 09:01 nguyenquanghoang

Another alternative will be providing a property for spinning a WordPress instance with a different language, for example:

npx @wp-now/wp-now lang=pt-br

When the instance is set up, it downloads translations from the defined language.

fellyph avatar Mar 27 '25 09:03 fellyph