Skip to content

Commit 795e97e

Browse files
tyxlaockham
authored andcommitted
Do not localize English
1 parent 1aa9b7f commit 795e97e

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
@@ -48,6 +48,12 @@ export const jetpackBlocki18n = ( context, next ) => {
4848

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

0 commit comments

Comments
 (0)