Skip to content

Explain when the wp_locale filed should be used#1537

Merged
akirk merged 2 commits into
developfrom
wp-locale-comment
Nov 30, 2022
Merged

Explain when the wp_locale filed should be used#1537
akirk merged 2 commits into
developfrom
wp-locale-comment

Conversation

@akirk
Copy link
Copy Markdown
Member

@akirk akirk commented Nov 30, 2022

What?

In our GlotPress chat, @ocean90 mentioned that the wp_locale should only be set when the language is officially supported on translate.wordpress.org: https://wordpress.slack.com/archives/C02RP4R9F/p1669797958749989

How?

By adding a comment for the variable, we'll make this piece of documentation part of the file.

amieiro
amieiro previously approved these changes Nov 30, 2022
@akirk
Copy link
Copy Markdown
Member Author

akirk commented Nov 30, 2022

I had a typo, could you please review again? Thanks!

@akirk akirk merged commit db7a85d into develop Nov 30, 2022
@akirk akirk deleted the wp-locale-comment branch November 30, 2022 09:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants