newhck / php-form-builder-class

Automatically exported from code.google.com/p/php-form-builder-class
GNU General Public License v3.0
0 stars 0 forks source link

External files for translations #186

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Put the form on a website in a language different than english
2. Submit the form

What is the expected output? What do you see instead?

Error messages are in english instead of the website's default language (same  
goes for multilingual websites)

The best solution would be to put all the translations in a separate file 
'en.php' and let the user speficy the language code to use :
$form->setLang('fr');

Then everyone can create (and contribute with) it's own language file 

Original issue reported on code.google.com by conort on 22 Nov 2012 at 9:32

GoogleCodeExporter commented 8 years ago
Soory just saw that it's a duplicate of :
http://code.google.com/p/php-form-builder-class/issues/detail?id=16

but this is really a must have ...

Original comment by conort on 22 Nov 2012 at 9:38