Fork me on GitHub

MultiLangue Feature in pnRender - possible ?  Bottom

  • 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?
  • 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
  • As always - if all else fails, follow (read) instructions. icon_evil
  • 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 icon_wink

    --
    - Mateo T. -
    Mis principios... son mis fines
  • 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.

This list is based on users active over the last 60 minutes.