diff --git a/.gitignore b/.gitignore
index 2e1407124..be41b64df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -14,7 +14,7 @@ images/
private/
vendor/
coverage/
-locale/
+/locale/
node_modules/
bower_components/
grapesjs-*.tgz
diff --git a/docs/modules/I18n.md b/docs/modules/I18n.md
index 253cd169e..66d73e16e 100644
--- a/docs/modules/I18n.md
+++ b/docs/modules/I18n.md
@@ -9,7 +9,7 @@ The **I18n** module allows the internalization and updates of strings in the edi
::: warning
This guide is referring to GrapesJS v0.15.9 or higher
-The module was added recently so we're open to receive help in [translating strings in other languages](#adding-new-language). Your help will be much appreciated!
+The module was added recently so we're open to receive support in [translating strings in other languages](#adding-new-language). Your help will be much appreciated!
:::
[[toc]]
diff --git a/src/asset_manager/view/AssetsView.js b/src/asset_manager/view/AssetsView.js
index 41ee33893..ae098d451 100644
--- a/src/asset_manager/view/AssetsView.js
+++ b/src/asset_manager/view/AssetsView.js
@@ -11,10 +11,10 @@ export default Backbone.View.extend({
diff --git a/src/asset_manager/view/FileUploader.js b/src/asset_manager/view/FileUploader.js
index f43fa1cda..2637db1d1 100644
--- a/src/asset_manager/view/FileUploader.js
+++ b/src/asset_manager/view/FileUploader.js
@@ -249,7 +249,7 @@ export default Backbone.View.extend(
const { $el, pfx, em } = this;
$el.html(
this.template({
- title: em && em.t('assets.uploadTitle'),
+ title: em && em.t('assetManager.uploadTitle'),
uploadId: this.uploadId,
disabled: this.disabled,
multiUpload: this.multiUpload,
diff --git a/src/block_manager/view/BlockView.js b/src/block_manager/view/BlockView.js
index 37fa70b0d..844003bdf 100644
--- a/src/block_manager/view/BlockView.js
+++ b/src/block_manager/view/BlockView.js
@@ -140,7 +140,7 @@ export default Backbone.View.extend({
const { em, el, ppfx, model } = this;
const className = `${ppfx}block`;
const label =
- (em && em.t(`blocks.labels.${model.id}`)) || model.get('label');
+ (em && em.t(`blockManager.labels.${model.id}`)) || model.get('label');
const render = model.get('render');
const media = model.get('media');
el.className += ` ${className} ${ppfx}one-bg ${ppfx}four-color-h`;
diff --git a/src/block_manager/view/CategoryView.js b/src/block_manager/view/CategoryView.js
index 4ff54edf7..5bbd6a7cf 100644
--- a/src/block_manager/view/CategoryView.js
+++ b/src/block_manager/view/CategoryView.js
@@ -71,7 +71,8 @@ export default Backbone.View.extend({
render() {
const { em, el, $el, model } = this;
- const label = em.t(`blocks.categories.${model.id}`) || model.get('label');
+ const label =
+ em.t(`blockManager.categories.${model.id}`) || model.get('label');
el.innerHTML = this.template({
pfx: this.pfx,
label
diff --git a/src/commands/view/OpenAssets.js b/src/commands/view/OpenAssets.js
index d2fab72d1..68552016e 100644
--- a/src/commands/view/OpenAssets.js
+++ b/src/commands/view/OpenAssets.js
@@ -4,7 +4,7 @@ export default {
const am = editor.AssetManager;
const config = am.getConfig();
const amContainer = am.getContainer();
- const title = opts.modalTitle || editor.t('assets.modalTitle') || '';
+ const title = opts.modalTitle || editor.t('assetManager.modalTitle') || '';
const types = opts.types;
const accept = opts.accept;
diff --git a/src/i18n/locale/en.js b/src/i18n/locale/en.js
index 4ea20906c..2b8b27512 100644
--- a/src/i18n/locale/en.js
+++ b/src/i18n/locale/en.js
@@ -1,7 +1,7 @@
const traitInputAttr = { placeholder: 'eg. Text here' };
export default {
- assets: {
+ assetManager: {
addButton: 'Add image',
inputPlh: 'http://path/to/the/image.jpg',
modalTitle: 'Select Image',
@@ -9,7 +9,7 @@ export default {
},
// Here just as a reference, GrapesJS core doesn't contain any block,
// so this should be omitted from other local files
- blocks: {
+ blockManager: {
labels: {
// 'block-id': 'Block Label',
},
diff --git a/src/i18n/locale/tr.js b/src/i18n/locale/tr.js
index 892819d95..2937fa749 100644
--- a/src/i18n/locale/tr.js
+++ b/src/i18n/locale/tr.js
@@ -1,5 +1,5 @@
export default {
- assets: {
+ assetManager: {
addButton: 'Görsel Ekle',
modalTitle: 'Görsel Seçin',
uploadTitle: 'Dosya yüklemek için buraya sürükleyin veya tıklayın'