Front page translation
-
Hello,
I love your theme, but I cant figure out how to translate front page. I need to translate to 2 more languages. If I setup the front page for the translation in settings->reading, it works, it shows the front page correctly but in default language.If I want to customise it, it customises all languages, not just the selected. Can you help me please? (Im using polylang)
Thanks
-
You could try front page template I guess.
But we have not tested this plugin yet.For future you should create a file wpml-config.xml in the folder wp-content/polylang with the following content:
<wpml-config> <admin-texts> <key name="theme_mods_alchem-child"> <key name="alchem_section_0_title"/> <key name="alchem_section_0_sub_title"/> <key name="alchem_section_0_button_text"/> <key name="alchem_section_0_button_link"/> <key name="alchem_section_0_content"/> <key name="alchem_section_0_title_0"/> <key name="alchem_section_0_sub_title_0"/> <key name="alchem_section_0_text_0"/> <key name="alchem_section_0_btn_link_0"/> <key name="alchem_section_0_title_1"/> <key name="alchem_section_0_sub_title_1"/> <key name="alchem_section_0_text_1"/> <key name="alchem_section_0_btn_link_1"/> <key name="alchem_section_0_title_2"/> <key name="alchem_section_0_sub_title_2"/> <key name="alchem_section_0_text_2"/> <key name="alchem_section_0_btn_link_2"/> <key name="alchem_section_0_title_3"/> <key name="alchem_section_0_sub_title_3"/> <key name="alchem_section_0_text_3"/> <key name="alchem_section_0_btn_link_3"/> <key name="alchem_section_0_title_4"/> <key name="alchem_section_0_sub_title_4"/> <key name="alchem_section_0_text_4"/> <key name="alchem_section_0_btn_link_4"/> <key name="alchem_youtube_id"/> <key name="alchem_youtube_content"/> <key name="alchem_section_1_slogan_title"/> <key name="alchem_section_1_slogan_content"/> <key name="alchem_section_1_button_text"/> <key name="alchem_section_1_button_link"/> <key name="alchem_section_1_content"/> <key name="alchem_section_2_title"/> <key name="alchem_section_2_sub_title"/> <key name="alchem_section_2_feature_title_0"/> <key name="alchem_section_2_feature_content_0"/> <key name="alchem_section_2_link_0"/> <key name="alchem_section_2_feature_title_1"/> <key name="alchem_section_2_feature_content_1"/> <key name="alchem_section_2_link_1"/> <key name="alchem_section_2_feature_title_2"/> <key name="alchem_section_2_feature_content_2"/> <key name="alchem_section_2_link_2"/> <key name="alchem_section_2_feature_title_3"/> <key name="alchem_section_2_feature_content_3"/> <key name="alchem_section_2_link_3"/> <key name="alchem_section_2_feature_title_4"/> <key name="alchem_section_2_feature_content_4"/> <key name="alchem_section_2_link_4"/> <key name="alchem_section_2_feature_title_5"/> <key name="alchem_section_2_feature_content_5"/> <key name="alchem_section_2_link_5"/> <key name="alchem_section_2_content"/> <key name="alchem_section_3_title"/> <key name="alchem_section_3_sub_title"/> <key name="alchem_section_3_link_0"/> <key name="alchem_section_3_link_1"/> <key name="alchem_section_3_link_3"/> <key name="alchem_section_3_link_4"/> <key name="alchem_section_3_target_5"/> <key name="alchem_section_3_link_6"/> <key name="alchem_section_3_link_7"/> <key name="alchem_section_3_button_text"/> <key name="alchem_section_3_button_link"/> <key name="alchem_section_3_content"/> <key name="alchem_section_4_title"/> <key name="alchem_section_4_sub_title"/> <key name="alchem_section_4_feature_title_0"/> <key name="alchem_section_4_feature_content_0"/> <key name="alchem_section_4_link_0"/> <key name="alchem_section_4_feature_title_1"/> <key name="alchem_section_4_feature_content_1"/> <key name="alchem_section_4_link_1"/> <key name="alchem_section_4_feature_title_2"/> <key name="alchem_section_4_feature_content_2"/> <key name="alchem_section_4_link_2"/> <key name="alchem_section_4_feature_title_3"/> <key name="alchem_section_4_feature_content_3"/> <key name="alchem_section_4_link_3"/> <key name="alchem_section_4_feature_title_4"/> <key name="alchem_section_4_feature_content_4"/> <key name="alchem_section_4_link_4"/> <key name="alchem_section_4_feature_title_5"/> <key name="alchem_section_4_feature_content_5"/> <key name="alchem_section_4_link_5"/> <key name="alchem_section_4_content"/> <key name="alchem_section_5_title"/> <key name="alchem_section_5_sub_title"/> <key name="alchem_section_5_content"/> <key name="alchem_section_6_title"/> <key name="alchem_section_6_sub_title"/> <key name="alchem_section_6_link_0"/> <key name="alchem_section_6_name_0"/> <key name="alchem_section_6_byline_0"/> <key name="alchem_section_6_desc_0"/> <key name="alchem_section_6_link_1"/> <key name="alchem_section_6_name_1"/> <key name="alchem_section_6_byline_1"/> <key name="alchem_section_6_desc_1"/> <key name="alchem_section_6_link_2"/> <key name="alchem_section_6_name_2"/> <key name="alchem_section_6_byline_2"/> <key name="alchem_section_6_desc_2"/> <key name="alchem_section_6_link_3"/> <key name="alchem_section_6_name_3"/> <key name="alchem_section_6_byline_3"/> <key name="alchem_section_6_desc_3"/> <key name="alchem_section_6_link_4"/> <key name="alchem_section_6_name_4"/> <key name="alchem_section_6_byline_4"/> <key name="alchem_section_6_desc_4"/> <key name="alchem_section_6_link_5"/> <key name="alchem_section_6_name_5"/> <key name="alchem_section_6_byline_5"/> <key name="alchem_section_6_desc_5"/> <key name="alchem_section_6_link_6"/> <key name="alchem_section_6_name_6"/> <key name="alchem_section_6_byline_6"/> <key name="alchem_section_6_desc_6"/> <key name="alchem_section_6_link_7"/> <key name="alchem_section_6_name_7"/> <key name="alchem_section_6_byline_7"/> <key name="alchem_section_6_desc_7"/> <key name="alchem_section_6_content"/> <key name="alchem_section_7_title"/> <key name="alchem_section_7_sub_title"/> <key name="alchem_section_7_name_0"/> <key name="alchem_section_7_byline_0"/> <key name="alchem_section_7_desc_0"/> <key name="alchem_section_7_name_1"/> <key name="alchem_section_7_byline_1"/> <key name="alchem_section_7_desc_1"/> <key name="alchem_section_7_name_2"/> <key name="alchem_section_7_byline_2"/> <key name="alchem_section_7_desc_2"/> <key name="alchem_section_7_name_3"/> <key name="alchem_section_7_byline_3"/> <key name="alchem_section_7_desc_3"/> <key name="alchem_section_7_name_4"/> <key name="alchem_section_7_byline_4"/> <key name="alchem_section_7_desc_4"/> <key name="alchem_section_7_name_5"/> <key name="alchem_section_7_byline_5"/> <key name="alchem_section_7_desc_5"/> <key name="alchem_section_7_content"/> <key name="alchem_section_8_title"/> <key name="alchem_section_8_sub_title"/> <key name="alchem_section_8_category"/> <key name="alchem_section_8_content"/> <key name="alchem_section_9_title"/> <key name="alchem_section_9_sub_title"/> <key name="alchem_section_9_link_0"/> <key name="alchem_section_9_title_0"/> <key name="alchem_section_9_link_1"/> <key name="alchem_section_9_title_1"/> <key name="alchem_section_9_link_2"/> <key name="alchem_section_9_title_2"/> <key name="alchem_section_9_link_3"/> <key name="alchem_section_9_title_3"/> <key name="alchem_section_9_link_4"/> <key name="alchem_section_9_title_4"/> <key name="alchem_section_9_content"/> <key name="alchem_section_10_title"/> <key name="alchem_section_10_button_text"/> <key name="alchem_section_10_button_link"/> <key name="alchem_section_10_content"/> <key name="alchem_top_bar_info_content"/> <key name="alchem_blog_title"/> <key name="alchem_blog_subtitle"/> <key name="alchem_title_404"/> <key name="alchem_content_404"/> </key> </admin-texts> </wpml-config>
With it you can translate over 90%-95% in the polylang string translate option. I created a child theme with name alchem-child you can see it in the 3rd line theme_mods_alchem-child
- The topic ‘Front page translation’ is closed to new replies.