Translate PHP .ini and .conf files

WebTranslateIt supports PHP .ini files.

.ini file example

# Joomla! 1.5.10  2009-03-13
# author Swedish Translation Team www.svenskjoomla.se info@svenskjoomla.se
# Copyright (C) 2005 - 2009 Swedish Translation Team by Sune Hultman and Christer Gerhardsson. All rights reserved.
# License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL, see LICENSE.php
# Note : All ini files need to be saved as UTF-8 - No BOM

CACHE DIRECTORY="Cache-mapp"
CHANGELOG="Ändringslogg"
CLEAR RESULTS="Töm \" resultat"
CONFIGURATION FILE="Konfigurationsfil"
CONTROL PANEL="Kontrollpanel"
CREDITS="Erkännanden"
DATABASE COLLATION="Sorteringsordning"
DATABASE VERSION="Databasversion"

It’s OK to have linebreaks in php .ini files. For instance:

STRING1="a multiline
string"
STRING2="another string"

WebTranslateIt also supports single-quoted, double-quoted and non-quoted strings, they can be mixed within the same files and will be exported pristine. Note that it is not legit to have linebreaks in single-quoted strings, so line-breaks will be escaped.

STRING1='a multiline\nstring'
STRING2='another string'
STRING3='you can embed "double quotes" but single \' quotes have to be escaped'
STRING4="This one has double quotes"
STRING5=Look ma, no quotes!

WebTranslateIt imports lines starting by a # as instructions.

STRING1='string'
# a  instruction for translator
STRING2='a string with a translator instruction'