move <![CDATA[ from xml file to language file

General Forum
baijianpeng
Phoca Member
Phoca Member
Posts: 27
Joined: 11 Nov 2007, 05:03

In Joomla! 1.0.x, &l

Post by baijianpeng »

In Joomla! 1.0.x, <![CDATA[ tags are very useful to insert HTML rich content introduction in the xml file for description.

But in Joomla! 1.5, the standard changed. The core team ask developers to write description content as language constant so that it also can be localized.

See http://forum.joomla.org/index.php/topic,234351.0.html for details.

Since you are developing several good components and modules, I hope you can get this info and walk on the right way from the beginning.

Thanks.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47887
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

... Not so easy, If you develop something e.g. 1 year or 1/2 year (In my Joomla! 1.5 beta intranet component I musted do changes every month, because of new methods) you doesn't see all changes they have been made...

Thank you for you info.

<?xml version="1.0" encoding="utf-8"?>
<metadata>
<view title="Phoca Guestbook">
<message>
<![CDATA[PHOCA GUESTBOOK DESC]]>
</message>
</view>
</metadata>


Please, if you have right information, tell me how to write this source code right.

Jan
If you find Phoca extensions useful, please support the project
Post Reply