Skip to content

Commit 42bf6e5

Browse files
committed
Do not localize English
1 parent 2d55c70 commit 42bf6e5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

client/gutenberg/editor/controller.js

+6
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ export const jetpackBlocki18n = ( context, next ) => {
4747

4848
const state = context.store.getState();
4949
const localeSlug = getCurrentLocaleSlug( state );
50+
51+
// We don't need to localize English
52+
if ( localeSlug === 'en' ) {
53+
return next();
54+
}
55+
5056
const languageFileUrl =
5157
'https://widgets.wp.com/languages/jetpack-gutenberg-blocks/' + localeSlug + '.json';
5258

0 commit comments

Comments
 (0)