Skip to content

Small php script to generate iOS and Android localisation files from tsv/csv

License

Notifications You must be signed in to change notification settings

jvk75/localisation_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

localisation_parser

Small php script to generate iOS, Android and Laravel (php array) localisation files from tsv/csv

Usage:

%> php parse.php -i <file> [-o <output dir>] [-ios | -android | -laravel | -all] [-separator <sheet separator>] [-force] [-multifile] [-of <name>]

-i <file>                     : input file (tsv, csv, ...)
-o <output dir>               : directory where files will be generated
                                (directory will be generated if not existing)
                                default = ./
-ios                          : Generate only iOS files
-android                      : Generate only Android files
-laravel                      : Generate only Laravel(php array) files
-all                          : Generate all supported platforms (default)
-separator <sheet separator>  : Column seprator in input file (default tab "\t")
-force                        : Generates files to languages which translation is not complete
-multifile                    : Each header at input file creates separate xml file (android only)
-of <name>                    : Output file name (Only applicable with -laravel or -all options)
                                default: text from first column of first line (error if empty)

About

Small php script to generate iOS and Android localisation files from tsv/csv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages