Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chrystl on "[Plugin: Polylang] Polyang and Minamaze theme"

$
0
0

Hi
You can create a wpml-config.xml but please read this before: The WPML language configuration file

1) In your DB => wp_options:
- find the option name of your theme in option_name columns. For your case is "redux"
- find the names of each options in option_value columns. For you case, many many options! So what do you want to translate? Here all your options theme, choose the options that you need:

Array
(
    [last_tab] =>
    [thinkup_general_logolink] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_general_logolinkretina] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_general_sitetitle] =>
    [thinkup_general_sitedescription] =>
    [thinkup_general_faviconlink] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_general_sidebars] =>
    [thinkup_general_responsiveswitch] => 0
    [thinkup_general_breadcrumbswitch] => 0
    [thinkup_general_breadcrumbdelimeter] => /
    [thinkup_general_customcss] =>
    [thinkup_general_customjavafront] =>
    [thinkup_homepage_sidebars] =>
    [thinkup_homepage_sliderswitch] => option1
    [thinkup_homepage_slidername] =>
    [thinkup_homepage_sliderpreset] => Array
        (
            [0] => Array
                (
                    [slide_title] =>
                    [slide_description] =>
                    [slide_url] =>
                    [slide_sort] => 0
                    [slide_image_id] =>
                    [slide_image_url] =>
                    [slide_image_height] =>
                    [slide_image_width] =>
                )

        )

    [thinkup_homepage_sliderpresetwidth] => 1
    [thinkup_homepage_sliderpresetheight] => 350
    [thinkup_homepage_introaction] =>
    [thinkup_homepage_introactionteaser] =>
    [thinkup_homepage_introactionbutton] =>
    [thinkup_homepage_introactionpage] =>
    [thinkup_homepage_introactioncustom] =>
    [thinkup_homepage_sectionswitch] => 1
    [thinkup_homepage_section1_image] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_homepage_section1_title] =>
    [thinkup_homepage_section1_desc] =>
    [thinkup_homepage_section1_link] =>
    [thinkup_homepage_section2_image] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_homepage_section2_title] =>
    [thinkup_homepage_section2_desc] =>
    [thinkup_homepage_section2_link] =>
    [thinkup_homepage_section3_image] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_homepage_section3_title] =>
    [thinkup_homepage_section3_desc] =>
    [thinkup_homepage_section3_link] =>
    [thinkup_header_searchswitch] => 0
    [thinkup_header_socialswitch] => 0
    [thinkup_header_socialmessage] =>
    [thinkup_header_facebookswitch] => 0
    [thinkup_header_facebooklink] =>
    [thinkup_header_facebookcustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_twitterswitch] => 0
    [thinkup_header_twitterlink] =>
    [thinkup_header_twittercustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_googleswitch] => 0
    [thinkup_header_googlelink] =>
    [thinkup_header_googlecustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_linkedinswitch] => 0
    [thinkup_header_linkedinlink] =>
    [thinkup_header_linkedincustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_flickrswitch] => 0
    [thinkup_header_flickrlink] =>
    [thinkup_header_flickrcustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_youtubeswitch] => 0
    [thinkup_header_youtubelink] =>
    [thinkup_header_youtubecustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_header_rssswitch] => 0
    [thinkup_header_rsslink] =>
    [thinkup_header_rsscustomicon] => Array
        (
            [url] =>
            [id] =>
            [height] =>
            [width] =>
        )

    [thinkup_blog_sidebars] =>
    [thinkup_post_layout] =>
    [thinkup_post_sidebars] =>
    [REDUX_imported] =>
    [thinkup_general_democontent] => 0
    [thinkup_homepage_introswitch] => 0
    [thinkup_header_facebookiconswitch] => 0
    [thinkup_header_twittericonswitch] => 0
    [thinkup_header_googleiconswitch] => 0
    [thinkup_header_linkediniconswitch] => 0
    [thinkup_header_flickriconswitch] => 0
    [thinkup_header_youtubeiconswitch] => 0
    [thinkup_header_rssiconswitch] => 0
    [thinkup_footer_widgetswitch] => 0
    [thinkup_general_logoswitch] =>
    [info_page_structure] =>
    [thinkup_general_layout] => 0
    [demo-intro] =>
    [thinkup_homepage_layout] => 0
    [thinkup_homepage_introactionlink] =>
    [thinkup_footer_layout] => 0
    [thinkup_blog_layout] =>
    [thinkup_blog_postswitch] =>
    [promotion-header] =>
    [theme-alante] =>
)

2) Create your wpml-config.xml with the options that you want.

The file wpml-config.xml must be placed in the root directory of the plugin or theme. It is also possible for users to create their own wpml-config.xml file and to upload it in /wp-content/polylang/ (create the directory if it does not exist).

You will find the strings in the tab Strings translation in your wp admin.

You can read this topic


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>