Create a macro in response to the previous XSLT and contain it on your Runway grasp template through the use of the umbraco:Macro tag, as proven in directory 6-4. directory 6-4: Umbraco Macro Tag for Dictionary merchandise www. it-ebooks. information c06. indd one hundred fifty 4/21/2011 12:33:24 PM Dictionaries x 151 the opposite method of putting and referencing dictionary goods is via including them on to your template, in place of operating with the dictionary merchandise in an XSLT macro. the instance in directory 6-3 is overly verbose for outputting a unmarried worth. So, to output unmarried values from the dictionary, you could easily leverage the
- tag utilizing the next steps: 1. 2. Navigate to the Runway grasp template. click on the Insert umbraco web page ﬁeld icon, as proven in determine 6-4. determine 6-4 three. within the conversation that looks, rather than identifying a ﬁeld within the drop-down record, within the empty textual content field style the identify of the dictionary merchandise that you just desire, preﬁxed with a hash signal (#), as proven in determine 6-5. determine 6-5 four. click on the Insert button to ﬁnish. The tag is extra for your template and appears like
- . www. it-ebooks. details c06. indd 151 4/21/2011 12:33:25 PM 152 x bankruptcy 6 LANGUAGES AND DICTIONARIES Dictionary merchandise names are case-sensitive. TAKE domestic issues Now that you’re performed with this bankruptcy, you'll have a ﬁ rm clutch on the best way to accomplish the next: ‰ altering the backofﬁce consumer interface language for person clients ‰ including a brand new language pack to help extra languages ‰ using the Umbraco dictionary to aid multi-lingual labels or for deﬁning site-wide words ‰ Outputting dictionary goods utilizing XSLT macros www. it-ebooks. information c06. indd 152 4/21/2011 12:33:25 PM 7 a number of websites, Hostnames, and Localization ‰ How do you deal with a number of websites in a single Umbraco install? ‰ How do you put up hostnames as access issues for a number of websites, localization and a number of languages? ‰ How do you conﬁgure the Umbraco translation workﬂow? for numerous purposes you'll have to host a number of websites inside one Umbraco set up. instance usages comprise: ‰ a number of types of a similar web site in several languages. ‰ Sub-domains for function-speciﬁc parts of the positioning. for instance, you might have considered trying to have your product catalog obtainable at catalog. yoursite. com to have a separate access aspect and constitution.