Please make sure to update to WPML 4.3.5 and check our list of Known Issues before reporting

Hi, Amit here, I am the WPML Support Manager, our current ticket queue is high, update your WPML plugins and make sure you meet the minimal requirements for running WPML before reporting an issue please - many tickets are resolved doing that

Please look at our updated list of Known Issues and you can also use our support search to find helpful information and of course review our documentation before opening a ticket.

If you do need to open a ticket please make sure to provide us with all the needed information as described in this page

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to translate Storefront child theme logo and copyright
Solution:
1) Go to the WPML -> Settings page -> Custom XML Configuration
2) Add the following code inside:

<wpml-config>
    <admin-texts>
        <key name="theme_mods_storefront-child-theme">
            <key name="custom_logo" />
            <key name="sp_footer_copyright" />
        </key>
           <key name="custom_logo" />
           <key name="sp_footer_copyright" />
    </admin-texts>
</wpml-config>

Relevant Documentation:
https://wpml.org/documentation/support/language-configuration-files/

This topic contains 6 replies, has 2 voices.

Last updated by Bruno Kos 11 months, 3 weeks ago.

Assigned support staff: Bruno Kos.

Author Posts
December 19, 2018 at 9:20 am #3015507

ivoM-6

Hello
i'm using a childstorefront-child-theme theme: storefront-child-theme and the stringtranslation doesen't work for logo and footer copyright.

theme_mods_storefront-child-theme
checked: custom_logo
checked: sp_footer_copyright

with the parent theme storefront works stringtranslation well.

Please help me!
Thanks.
Best regards Ivo

December 19, 2018 at 11:21 am #3016091

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Thank you for contacting WPML support!

Before we investigate this issue further, could you make sure your server conforms to our minimum requirements?
https://wpml.org/home/minimum-requirements/

Based on provided debug information, I can see the following - WP Memory Limit: 64M.

Specifically, could you set WP Memory limit to at least 256MB and then let me know if this fixed your issue?
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

If unsure on how to set this, you can consult your host/server admin to do this. After you increase this value, you can confirm it by checking on WPML -> Support by finding the “Memory limit” value.

After you get this done, please have a look at this topic:
https://wpml.org/forums/topic/different-logos-for-different-languages-with-storefront-child-theme/

Please check the comment added on JUNE 20, 2018 AT 3:17 PM made by our supporter Diego Pereira. Based on his observations, it could be that there were some changes with either WordPress or Storefront theme and how it handles these fields with the child theme, so custom XML will be needed.

Regards,
Bruno Kos

December 19, 2018 at 3:10 pm #3017197

ivoM-6

Hi,
Thank you for help. the logo works, but the copyright text is not working.
memory limit is fixed.

Thank you for helping
Regards, Ivo

December 19, 2018 at 4:21 pm #3017502

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Can you remove the second

sp_footer_copyright

from the xml file?

And then perform this:
https://wpml.org/documentation/getting-started-guide/theme-localization/#scanning-themes-for-texts

So that it gets registered for translations.

Let me know if this resolves your issue!

Regards,
Bruno Kos

December 19, 2018 at 4:47 pm #3017651

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Can you try this actually:

<wpml-config>
    <admin-texts>
        <key name="theme_mods_storefront-child-theme">
            <key name="custom_logo" />
            <key name="sp_footer_copyright" />
        </key>
           <key name="custom_logo" />
           <key name="sp_footer_copyright" />
    </admin-texts>
</wpml-config>

Regards,
Bruno Kos

December 19, 2018 at 4:53 pm #3017655

ivoM-6

Hi,
thank you very much, this works fine 🙂
Merry Christmas.
Best regards from switzerland,
Ivo

December 19, 2018 at 5:06 pm #3017708

Bruno Kos
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+01:00)

Hi,

Great to hear that - marking this topic as resolved!

Regards,
Bruno Kos