Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
- mdee created topic »How to implement returnpage ?« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
MultiLangue Feature in pnRender - possible ?
-
- Rank: Registered User
- Registered: Jan 21, 2008
- Last visit: Jan 31, 2009
- Posts: 16
In the last few month I have investigated a large number of CMS type applications for useablitity in my (planned) site. As a major requirement, my site needs multilingual support and each and every CMS I looked at was either lacking this support or it was included as a hack. All, except PostNuke obviously. I am back to using PostNuke to develop my site and was wondering if it would be possible to have some additional tags i n pnRender which will 'render' content based on the language setting. I know that one can select the language setting for news items etc, but what I am looking for is a way to be able to say 'ALL' languages and still have (optional) content based on the actual language setting. This would allow for multilingual descriptions in PhotoGellery for example without having to store the same image several times - or am I missing something here? -
- Rank: Legend
- Registered: Dec 11, 2002
- Last visit: Oct 21, 2009
- Posts: 11674
For example?
Code
<!--[pnusergetlang assign="lang"]-->
<!--[if $lang eq 'eng']-->
English
<!--[else]-->
Any lang not specified above
<!--[/if]-->
That will work for you in templates.
--
itbegins.co.uk - Zikula Consulting
birtwistle.me.uk - Personal Blog
Please read the Support Guide -
- Rank: Registered User
- Registered: Jan 21, 2008
- Last visit: Jan 31, 2009
- Posts: 16
-
- Rank: Team Member
- Registered: Sep 06, 2006
- Last visit: May 09, 2010
- Posts: 2446
I guess that his feature is planned for 0.9...
we'll can have an article with one ID, but rendered in the language used by the user.
in the other hand, this can be applied for all the modules, and a Images/media with one ID but multilingual descriptions.
This is not implemented yet because 0.8 must be released as soon as possible, but there are some ideas and implementations like the Content module
--
- Mateo T. -
Mis principios... son mis fines -
- Rank: Developer
- Registered: Jun 03, 2002
- Last visit: Dec 21, 2009
- Posts: 284
I wrote a pnform plugin for multilingual text inputs. Works in singleline and multiline modes and displays an input for each installed language as well as "All".
--
cyber_wolf
www.bkbsolutions.com - My Zikula module development site.
- Moderated by:
- Support
