├── .gitignore ├── README.md ├── composer.json ├── composer.lock ├── src ├── Lang.php ├── Translate │ ├── Extractor.php │ └── GoogleTranslate.php └── test.php ├── test ├── extract.php ├── google_translate.php └── to_js.php └── test_app ├── index.php ├── js ├── lang.js └── lang │ ├── da │ └── language.js │ └── en │ └── language.js └── lang ├── da └── language.php └── en └── language.php /.gitignore: -------------------------------------------------------------------------------- 1 | vendor/* 2 | google_json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/composer.lock -------------------------------------------------------------------------------- /src/Lang.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/src/Lang.php -------------------------------------------------------------------------------- /src/Translate/Extractor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/src/Translate/Extractor.php -------------------------------------------------------------------------------- /src/Translate/GoogleTranslate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/src/Translate/GoogleTranslate.php -------------------------------------------------------------------------------- /src/test.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/src/test.php -------------------------------------------------------------------------------- /test/extract.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test/extract.php -------------------------------------------------------------------------------- /test/google_translate.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test/google_translate.php -------------------------------------------------------------------------------- /test/to_js.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test/to_js.php -------------------------------------------------------------------------------- /test_app/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/index.php -------------------------------------------------------------------------------- /test_app/js/lang.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/js/lang.js -------------------------------------------------------------------------------- /test_app/js/lang/da/language.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/js/lang/da/language.js -------------------------------------------------------------------------------- /test_app/js/lang/en/language.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/js/lang/en/language.js -------------------------------------------------------------------------------- /test_app/lang/da/language.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/lang/da/language.php -------------------------------------------------------------------------------- /test_app/lang/en/language.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/diversen/simple-php-translation/HEAD/test_app/lang/en/language.php --------------------------------------------------------------------------------