Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mariaKyp

    (@mariakyp)

    Hello, thank you for your answer! ??
    I love Polylang, but I don’t like that if I translate a page it displays it as 2 pages. It doesn’t displays the second language in a new tab inside the “original” page. Is there any way to do that?

    Thread Starter mariaKyp

    (@mariakyp)

    I found a solution. For anyone needs the answer:

    In /wp-content/themes/enigma/options-reset.php you can find the
    names you need for the keys.
    For example, my file looks like this:

    <wpml-config>
        <admin-texts>
            <key name='enigma_options'>
                <key name='service_1_title' />
    			<key name='service_2_title' />
    			<key name='service_3_title' />
    			<key name='service_1_text' />
    			<key name='service_2_text' />
    			<key name='service_3_text' />
    			<key name='port_1_title' />
    			<key name='port_2_title' />
    			<key name='port_3_title' />
    			<key name='port_4_title' />
    			<key name='port_heading' />
            </key>
        </admin-texts>
    </wpml-config>
    Thread Starter mariaKyp

    (@mariakyp)

    Hi,
    thank you very much for your advice wpimran! ??

    I found this solution to translate the two sections.
    I created a file wpml-config.xml under /wp-content/polylang directory which contains the following lines of code:

    <wpml-config>
        <admin-texts>
            <key name='enigma_options'>
                <key name='service_1_title' />
    			<key name='service_2_title' />
    			<key name='service_3_title' />
    			<key name='service_1_text' />
    			<key name='service_2_text' />
    			<key name='service_3_text' />
    			<key name='port_1_title' />
    			<key name='port_2_title' />
    			<key name='port_3_title' />
    			<key name='port_4_title' />
    			<key name='port_heading' />
            </key>
        </admin-texts>
    </wpml-config>

    This is creating strings for translation in “Strings translation” tab in Settings >> Languages.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)