diff --git a/site/i18n/create_modules.php b/site/i18n/create_modules.php new file mode 100644 index 00000000..7850e9b3 --- /dev/null +++ b/site/i18n/create_modules.php @@ -0,0 +1,17 @@ + $value) { + if (array_key_exists($key, $data)) { + unset($dataTarget[$key]); + echo $key; + echo "

"; + } + } + + file_put_contents ($target . '.json', json_encode($dataTarget, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT), LOCK_EX); diff --git a/site/i18n/update_es.php b/site/i18n/update_es.php new file mode 100644 index 00000000..7b86379c --- /dev/null +++ b/site/i18n/update_es.php @@ -0,0 +1,12 @@ + $value) { + if (!array_key_exists($key, $dataTarget)) { + $dataTarget[$key] = ''; + } + } + + file_put_contents ('es.json', json_encode($dataTarget, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT), LOCK_EX);