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
# Copyright (C) 2005 - 2009 Swedish Translation Team by Sune Hultman and Christer Gerhardsson. All rights reserved.
# License GNU/GPL, see LICENSE.php
# Note : All ini files need to be saved as UTF-8 - No BOM

CLEAR RESULTS="Töm \" resultat"
CONFIGURATION FILE="Konfigurationsfil"
CONTROL PANEL="Kontrollpanel"
DATABASE COLLATION="Sorteringsordning"
DATABASE VERSION="Databasversion"

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

STRING1="a multiline
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.

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