library locasync
EASY and smart tool for keep language files syncronized.
csnemeth79/locasync
EASY and smart tool for keep language files syncronized.
- Tuesday, April 15, 2014
- by csnemeth79
- Repository
- 1 Watchers
- 0 Stars
- 14 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
locasync
REPO
https://github.com/csnemeth79/locasync, (*1)
CONFIGURATION
Copy config.inc.php.sample and paste it to config.inc.php on same directory., (*2)
$main_directory - laguage directoty
$prior_language - main language (only one)
$additional_languages = array for additional languages
$auto_fix = true = auto fix and log, false = only logging
Usage
- Open /bin directory
- Run: sync.bat
- Watch console and check out logs\log.txt
REQUIREMENTS
- unlimited languages supported with one main language (source generation)
- language files are case sensitive
- language files must be valid php files
- language files must consist only one multi-dimensional(two dimensions array)
- any file must be only one close tag at the end of array
- close tag -> ');'
-
sample files are:, (*3)
'success text',
'error' => 'error text'
);
?>
or, (*4)
"The :attribute must be a date before :date.",
"between" => array(
"numeric" => "The :attribute must be between :min and :max.",
"file" => "The :attribute must be between :min and :max kilobytes.",
"string" => "The :attribute must be between :min and :max characters.",
"array" => "The :attribute must have between :min and :max items.",
),
);
?>
dev-master
9999999-dev
EASY and smart tool for keep language files syncronized.
Sources
Download
The Requires
by
Csaba Németh
v1.2
1.2.0.0
EASY and smart tool for keep language files syncronized.
Sources
Download
The Requires
by
Csaba Németh
v1.1
1.1.0.0
EASY and smart tool for keep language files syncronized.
Sources
Download
The Requires
by
Csaba Németh
v1.0
1.0.0.0
EASY and smart tool for keep language files syncronized.
Sources
Download
The Requires
-
php >=5.3.0
-
another-vendor/package 1.*
by
Csaba Németh