Hi Marcel

Are we talking about something like this:
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"; prefix="fmt" %>
<fmt:setBundle basename="com.xumak.magnolia.module.components.messages" />

<c:set var="moreLabel">
        <fmt:message key="paragraph.news.moreLabel"/>
</c:set>

- The "basename" is the dot-notated (package) path to your message file (e.g. messages_dk or messages_en).
- The "key" is the entry in the message file

HTH
Giancarlo


On Sep 19, 2008, at 6:29 AM, Leviter wrote:


Hi,

I'm building a site (in Dutch) with a small part of the site in English.
This English part will be located in a separate folder in the website
workspace. On a couple of pages there will be a generated overview of child pages. In this overview there will be a short introduction about the child
page and a "read more" link.

I don't want to hard-code the text "read more" into the template/ paragraph, since I would like to reuse it for the Dutch pages as well. The text "read more" should then be (automagically) switched to its equivalent "lees meer".

What are my options to implement this?

Of course I would like it to keep as simple as possible.... :-D

Thanks in advance,
-- Marcel
--
View this message in context: 
http://www.nabble.com/Multilingual-texts-for-links-tp19572375p19572375.html
Sent from the Magnolia - User mailing list archive at Nabble.com.


----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to