From: Scott M. <sco...@gm...> - 2011-03-20 21:34:34
|
Excellent to hear you're actively working on the 2.0 demo branch, and thanks for the answer about htmlspecialchars. Honestly, the localise.php file is currently simply copied from Joomla, and I'm nearly certain that it isn't yet being used, but it is still early in our move to using the internationalization for me to say we won't use it. >From memory, there are some routines to help "pluralize" things, and outside that, I'm not sure what other potential it has. -Scott On Sat, Mar 19, 2011 at 11:20 AM, Isabelle Vergely <ver...@fr... > wrote: > Hello, > > Sorry to answer only now but I didn't have time before. > > About encapsulating the JText calls within htmlspecialchars, > I think it's not necessary: a quick search in Joomla does not > show such usage... > > I'm pleased to join the Timesheet Next Gen project. > On my working copy of txsheet-2.0-demo, first, I begin this > weekend to work on the creation and the content of the > "include/language/fr-FR" directory. > > About the file "/include/language/en-GB/en-GB.localise.php": > can you tell me the purpose of this file? > > Bye. > > Isabelle > > ----- Mail Original ----- > De: "Scott Miller" <sco...@gm...> > À: "Isabelle Vergely" <ver...@fr...> > Cc: "tsheetx" <tsh...@li...> > Envoyé: Jeudi 17 Mars 2011 18:20:32 GMT +01:00 Amsterdam / Berlin / Berne / > Rome / Stockholm / Vienne > Objet: Should we use htmlspecialchars for the internationalization stuff? > > > Isabelle, > > Should we be encapsulating the JText calls within htmlspecialchars like > this: > echo htmlspecialchars(JText::_('EXAMPLE')); > > Or should I assume the translators will do the html encoding within the > language files? > > -Scott > |