Skip to content

Conversation

@dottxado
Copy link

@dottxadodottxado commented Jun 13, 2024

en_US translations may not be always installed in the case of plugins and themes, so I removed the line of code that assumes the availability of the language for anything different than the core. Now the available translations are the only ones got from wp_get_installed_translations.

I needed to remove some tests because removing the assumption on the language is no more generating a good test case, and this make me think that this solution is not the best one. More in the issue discussion #84

This should fix#84

Related wp-cli/wp-cli#5955

@dottxadodottxado requested a review from a team as a code ownerJune 13, 2024 08:51
@dottxadodottxado marked this pull request as draft June 13, 2024 09:17
@codecov
Copy link

codecovbot commented Nov 4, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Not possible to install translations for en_US

2 participants

@dottxado@swissspidy