Background of the issue:
I am trying to translate a string in footer.php that contains . The strings were found during a scan and translated with string translation. Once I add new languages, everything works as expected. I assume there might be some sort of configuration error in the database. The issue can be seen at hidden link. At home page during debug get_translations_for_domain( $domain ) return empty while other languages or cs-cz at other page show the data.
Symptoms:
The string translation for the homepage at cs-CZ is not working, while other pages and homepages in other languages are working. I expected to see 'Sleduj nás' (translated 'Follow us') at the footer like on hidden link, but instead, I got 'Follow us'.
Questions:
Why is the string translation for the homepage at cs-CZ not working?
Is there a configuration error in the database affecting the string translation?
It seems that this issue is related to custom coding, which is outside the scope of WPML support. If you can reproduce the issue on a minimal settings (only WPML and a default theme) and the translated text does not display in the footer, then we can further troubleshoot. OTherewise, I can share this documentation https://wpml.org/wpml-hook/wpml_switch_language/ for guidance and if you need further assistance, we can suggest some contractors who are familiar with WPML that may be able to further assist you: https://wpml.org/contractors/