2022-12-29 10:59:30 +01:00
|
|
|
<?php
|
2023-01-23 18:06:59 +01:00
|
|
|
$langTarget = 'gr_GR';
|
2023-01-24 09:57:43 +01:00
|
|
|
$folderTarget = '../modules/form/';
|
2023-01-23 18:06:59 +01:00
|
|
|
$source = json_decode(file_get_contents($folderTarget . $langTarget . '.json'), true);
|
2022-12-29 10:59:30 +01:00
|
|
|
ksort($source, SORT_STRING);
|
2023-01-23 18:06:59 +01:00
|
|
|
file_put_contents($folderTarget . $langTarget . '.json', json_encode($source, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT));
|
2022-12-29 10:59:30 +01:00
|
|
|
echo 'Done...';
|