From: Isabelle V. <ver...@fr...> - 2011-03-19 16:20:31
|
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 |