WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Muli-lingual Support? (2 posts)

  1. Dani-Girl
    Member
    Posted 1 year ago #

    How do I go about designating field contents to display for multilingual posts?

    Example> I have French and spanish versions of a page.

    the content is separated out by quicktags <!--:en-->english content<!--:--><!--:es-->spanish content content<!--:-->

    so, the custom field content would also have to be presented in those as well.

    How do I get this to support it?

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. Dani-Girl
    Member
    Posted 1 year ago #

    For those that are using qTranslate for their multi-lingual support, you just need to follow the advice found in this thread:

    http://support.advancedcustomfields.com/discussion/4182/options-page-for-wpml-usage#Comment_11849

    in the 2nd post by the Admin.

    For it to work with qTranslate, to get the language code, just create your variable like this:

    $lang = $q_config[language]; // return current language code

    this will return the two character language code

    Just edit your templates as advised in the post and voila, your language support works.

    However, this can become very cumbersome for those who have several languages (currently, my site has 8 languages, so each field has to have 8 versions of it)

    Hopefully, an update to this great plugin, will accommodate for quicktags (designated content based on the quicktag)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.