• mariaKyp

    (@mariakyp)


    Hi,
    I’m using Enigma theme by weblizar (the free version).

    I want to translate the Our Services part of home page using polylang (this part is inside theme options).

    As I understood, I should use the language configuration file.

    I read the link below
    http://polylang.wordpress.com/documentation/documentation-for-developers/the-wpml-language-configuration-file/
    and I followed the instructions.

    My file contains the following lines of code:

    <wpml-config>
        <admin-texts>
            <key name='options_enigma_theme'>
                <key name='service-one-title' />
            </key>
        </admin-texts>
    </wpml-config>

    Unfortunately, something is wrong and is not working. I think that the problem are the key names.
    Please, can anyone explain me how can I find the right names for my theme?

    Thank you in advance

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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>

    I accidentally deleted strings list on the Polylang settings . Is there any way to recover deleted strings?

    Did you find anyway to recover strings :/

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Polylang] Add strings to strings translation tab’ is closed to new replies.