Nov 18th, 2009, 7:15 AM
Hi Ben,
Thanks for your hard work. The language file now loads, however... when it first loaded I got a whole bunch of variable not defined errors, found in nl.php (the dutch language file). I got it to work after I examined the differences with the default en_us.php file.
In the default language file, all variables are preceded by a backslash "\". However when translating with OpenTranslate it never showed me any backslashes, so I never typed any in the translated strings. Ergo, a whole lot of variable undefined errors.
I fixed my language file in dreamweaver, inserting the backslash manually.
e.g.
OT shows: "The {$varname} is a hash (or associative array) of all form submission information..."
en_us.php: "The {\$varname} is a hash (or associative array) of all form submission information..."
nl.php would show: "De {$varname} is een hash (of associatieve array) van alle inzendingsinfo van het formulier..."
and should be: "De {\$varname} is een hash (of associatieve array) van alle inzendingsinfo van het formulier..."
Is there any way to search for strings in OpenTranslate?
To avoid this in the future, can you display the backslash in the original strings in OT?
Cheers,
Sam
Thanks for your hard work. The language file now loads, however... when it first loaded I got a whole bunch of variable not defined errors, found in nl.php (the dutch language file). I got it to work after I examined the differences with the default en_us.php file.
In the default language file, all variables are preceded by a backslash "\". However when translating with OpenTranslate it never showed me any backslashes, so I never typed any in the translated strings. Ergo, a whole lot of variable undefined errors.
I fixed my language file in dreamweaver, inserting the backslash manually.
e.g.
OT shows: "The {$varname} is a hash (or associative array) of all form submission information..."
en_us.php: "The {\$varname} is a hash (or associative array) of all form submission information..."
nl.php would show: "De {$varname} is een hash (of associatieve array) van alle inzendingsinfo van het formulier..."
and should be: "De {\$varname} is een hash (of associatieve array) van alle inzendingsinfo van het formulier..."
Is there any way to search for strings in OpenTranslate?
To avoid this in the future, can you display the backslash in the original strings in OT?
Cheers,
Sam