Hello Everybody,
I’ve develop a multi-language (I use the lang function) app that generates
a little reporting and an PDF if needed.
I have a little problem because I need to generate the PDF in a lot of
languages not only the lang of the egroupware.
(report in English -> PDF report in French or Spanish,…).
What I can do is to change the lang preference but it’s not very usefull.
Is there a solution to my problem.
$langs = array(‘en’, ‘fr’, ‘es-es’);
foreach($langs as $lang)
{
translation::add_app(‘common’,$lang);
translation::add_app(‘yourapp’,$lang);
// generate pdf using lang()
}
Ralf
Ralf Becker
Director Software Development
Stylite GmbH
[open style of IT]
Morschheimer Strasse 15
67292 Kirchheimbolanden
fon +49 (0) 6352 70629-0
fax +49 (0) 6352 70629-30
mailto: rb@stylite.de
www.stylite.de
www.egroupware.org
Geschäftsführer Andre Keller, Ralf Becker
Registergericht Kaiserslautern HRB 30575
Umsatzsteuer-Id / VAT-Id: DE214280951
Xperia™ PLAY
It’s a major breakthrough. An authentic gaming
smartphone on the nation’s most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
eGroupWare-developers mailing list
eGroupWare-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-developers