Hi,

We're using Mezzanine for creating the PyCon APAC 2014 Conference web.

It requires different pages used at least for /zh/about, /en/about, and
/ja/about URLs. We're currently digging he Custom Content Type of Mezzanine
and trying to figure out how to get different pages responding to different
locale URLs with django.conf.urls.i18n.i18n_patterns. (
https://bitbucket.org/keitheis/pycon-apac-2014/branch/i18n )

Does anyone have the experience or suggestion on the locale content
implementation?

--
You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Stephen McDonald at Oct 23, 2013 at 10:51 pm
    Hi Keith,

    Cleanest and easiest approach as I understand would be to use the
    multi-site support in Mezzanine, where each language has its own
    sub-domain.

    This will give you a nice site/language drop-down in the admin with which
    you can easily switch between sites/languages for managing content.

    Something similar to the drop-down can then be provided on the front-end
    site too.

    On Wed, Oct 23, 2013 at 8:49 PM, Keith Yang wrote:

    Hi,

    We're using Mezzanine for creating the PyCon APAC 2014 Conference web.

    It requires different pages used at least for /zh/about, /en/about, and
    /ja/about URLs. We're currently digging he Custom Content Type of Mezzanine
    and trying to figure out how to get different pages responding to different
    locale URLs with django.conf.urls.i18n.i18n_patterns. (
    https://bitbucket.org/keitheis/pycon-apac-2014/branch/i18n )

    Does anyone have the experience or suggestion on the locale content
    implementation?

    --
    You received this message because you are subscribed to the Google Groups
    "Mezzanine Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    Stephen McDonald
    http://jupo.org

    --
    You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.
  • Keith Yang at Oct 25, 2013 at 2:04 am
    Hi Stephen,

    Thanks for the kind advice.

    By using multi-site with i18n_patterns, we end up a multihost middleware
    for the single instance purpose.
    https://bitbucket.org/lemonlatte/pycon-apac-2014/commits/497907a1a0db99fd62c88b961599f124c7d90b6c

    It looks good at present. :)

    On Thursday, October 24, 2013 6:51:18 AM UTC+8, Stephen McDonald wrote:

    Hi Keith,

    Cleanest and easiest approach as I understand would be to use the
    multi-site support in Mezzanine, where each language has its own
    sub-domain.

    This will give you a nice site/language drop-down in the admin with which
    you can easily switch between sites/languages for managing content.

    Something similar to the drop-down can then be provided on the front-end
    site too.


    On Wed, Oct 23, 2013 at 8:49 PM, Keith Yang <[email protected]<javascript:>
    wrote:
    Hi,

    We're using Mezzanine for creating the PyCon APAC 2014 Conference web.

    It requires different pages used at least for /zh/about, /en/about, and
    /ja/about URLs. We're currently digging he Custom Content Type of Mezzanine
    and trying to figure out how to get different pages responding to different
    locale URLs with django.conf.urls.i18n.i18n_patterns. (
    https://bitbucket.org/keitheis/pycon-apac-2014/branch/i18n )

    Does anyone have the experience or suggestion on the locale content
    implementation?

    --
    You received this message because you are subscribed to the Google Groups
    "Mezzanine Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected] <javascript:>.
    For more options, visit https://groups.google.com/groups/opt_out.


    --
    Stephen McDonald
    http://jupo.org
    --
    You received this message because you are subscribed to the Google Groups "Mezzanine Users" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmezzanine-users @
categoriesdjango, python
postedOct 23, '13 at 10:04a
activeOct 25, '13 at 2:04a
posts3
users2
websitemezzanine.jupo.org

2 users in discussion

Keith Yang: 2 posts Stephen McDonald: 1 post

People

Translate

site design / logo © 2023 Grokbase