PHP Classes

File: tests/data/utils/create_cases.php

Recommend this page to a friend!
  Classes of Francesco Danti   ATK4 i18next PHP   tests/data/utils/create_cases.php   Download  
File: tests/data/utils/create_cases.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: ATK4 i18next PHP
Translate application texts like il8next-PHP
Author: By
Last change:
Date: 4 years ago
Size: 273 bytes


Class file image Download

include __DIR__.'/cases.php';

foreach (
$path_def as $path => $array) {
$path = __DIR__.'/../locales/'.$path;

'created : '.$path.PHP_EOL;

mkdir(dirname($path), 0777, true);

file_put_contents($path, json_encode($array, JSON_PRETTY_PRINT));