Hi Bob!

1. For inheritance, see MagnoliaTemplatingUtilities --> eg, in Freemarker, you 
can write something like:  
[#assign theHeader=mgnl.inherit(content).header /]
[#list theHeader?children as kid]
[@cms.includeTemplate contentNode=kid /]
[/#list]
or something like that.

2. For i18n, you need to decide:
- Will ALL content be translated, every word on every page? if yes, then you 
should enable i18n in your site definition, and add the appropriate languages. 
For your dialogs and controls, for any field which should be translateable, set 
i18n=true in the control. If you do this, you will be able to switch languages 
in the page-bar, and edit the content in 3 languages. You do not need to add 
extra fields manually.
- If only some content is translated (not every page) - then you are better off 
creating separate content-trees for each language version. Each language can 
then have its own set of pages, and does not need to be a complete translation. 
In this case you do not need to switch on i18n, just enter the content 
normally, in the correct language for the content-tree you are editing.

Regards from Vienna,

Richard



-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] 
Im Auftrag von Magnolia Forums (on behalf of Robert Bowen)
Gesendet: Freitag, 15. Juli 2011 10:14
An: Magnolia User List
Betreff: [magnolia-user] Two Noob Questions: Inheritance and i18n


Hi all.

I'm just starting out with Magnolia. It's fantastic! But I had a couple 
questions:

1. I am not sure how basic inheritance works. The Demo Site seems to do what I 
need. But I am not using the STK. SO how, for example, do I define a Home page, 
with its header, footer and other stuff, all done with Parapraphs, and have all 
pages inherit from it so I don't have to re-do the Paragraphs on every page? 
This seems like basic functionality but I don't see how to do it *without* STK 
...



2. i18n. I've read all about the i18n support. I would like to have the Author 
instance in one language only, Spanish. That doesn't seem to be very hard. 

But the Public site I need in 3 languages. Is the Best Practice to change all 
of the Dialogs so they have, for example, 'Title English', 'Title Spanish' and 
'Title French', *or* to make 3 Pages - one for English, one for Spanish and one 
for French, so they Dialogs only have 'Title' ?

Many thanks for any help!
Bob

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=8a6f25e7-70ce-4fb8-b03e-15588729ff17


----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------





----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to