PHP
- Extension
- .php
- Import
- no
- Export
- yes
Translations in php format are exported as a file with the extension php that has a two-level array
$TRANSLATION
each element of which is localized data with fields term and translation
Important
Localizify only supports exporting translations in php format; importing in this format is currently unavailable.
Example
Download the example file<?php $TRANSLATION = [ ["term" => "addTerm", "translation" => "Ajouter une traduction"], ["term" => "cancel", "translation" => "Annuler"], ["term" => "confirm", "translation" => "Confirmer"], ["term" => "enterProjectName", "translation" => "Entrez le nom du projet"], ["term" => "helloWorld", "translation" => "Bonjour le monde"], ["term" => "hi", "translation" => "Bonjour"], ["term" => "selectLanguage", "translation" => "Choisir la langue"], ["term" => "settings", "translation" => "Paramètres"] ]; return $TRANSLATION; ?>