Home › Forums › VW Theme › VW STARTUP PRO THEME › Translation
Tagged: translation
- This topic has 18 replies, 4 voices, and was last updated 4 years, 7 months ago by
developer vwtheme.
-
AuthorPosts
-
March 4, 2019 at 9:25 pm #10806
attis
ParticipantHi,
I’ve just bought a few days ago this theme. We had a Wix homepage before… I know. 🙂 But there, it was very easy to create a multi language version for the site. Now, with VW Startup Pro the english version is done, is there any way to create a full translation (Logos, Menus, Pages, Servies and the Cutomize module) for the theme? I hope so. 🙂
Regards,
AttilaMarch 5, 2019 at 12:18 pm #10832developer vwtheme
ParticipantHi,
You can use Polylang plugin to use multiple languages.
Thank You
March 5, 2019 at 6:37 pm #10844attis
ParticipantHi,
looks promising!
Simple question: how can I translate eg. the Customizer \ Theme Settings \ Slider Settings \ Slide Text1? Polylang “Strings translations” menu doesn’t list it or any other theme related texts.
Regards,
AttilaMarch 6, 2019 at 5:57 am #10863developer vwtheme
ParticipantHi,
You need to create the .mo and .po files for this.
Thank you
March 6, 2019 at 5:17 pm #10887attis
ParticipantHi,
I think I was ambiguous, I would like to translate my input values, not the captions. 🙂 Eg. my Slide Text1 value is “Something” and I would like to translate the “Something” text. How can I do this?
Regards,
AttilaMarch 7, 2019 at 4:53 am #10895developer vwtheme
ParticipantHi,
For this also you need to create the .mo and .po files for this.
Include the inputs which you want to translate in these files.
Thank you
March 9, 2019 at 9:32 am #10987attis
ParticipantHi,
.mo didn’t work for me with get_theme_mod(), but wpml-config.xml solved my problem. It would have been great if there had been such a file in the theme… saved several hours of work. 🙂
Kind Regards,
AttilaMarch 9, 2019 at 11:12 am #11001developer vwtheme
ParticipantHi,
For translating to any other language in WordPress, following are the few steps
1)Firstly after creating po and mo file, you need to rename these files with their country code for reference (For Russian Language ru_RU.po) after that you need to put these both files in your language folder.
2)Then you need to add country code in the wp-config file for reference (‘WPLANG’,ru_RU).
3)Follow these below steps properly then your mo and po files will work.
If you need any other assistance please tell us we are here to help you.
Thank you
-
This reply was modified 6 years, 1 month ago by
developer vwtheme.
April 24, 2019 at 8:23 pm #12336swkra1992
ParticipantHi,
Could you describe in detail the process of creating the .mo and .po files and what to do in order for the plugin to translate my site?
Thank you in advance for your time.
April 25, 2019 at 4:13 am #12345developer vwtheme
ParticipantHi,
We will mail you the steps to do so.
Thank You.
April 25, 2019 at 9:00 am #12352swkra1992
ParticipantHello,
Thanks for answering. Let me know if i understand correctly. I install and activate the polylang plugin, i follow the steps you instructed with POEdit and then i upload the two files (.mo and .po) to the polylang plugin. This process will allow me to translate my site? I ask this because i want my site to be viewed in english and greek, but i am new to such procedures. Also, what name will i need to give the file and how do i add country code in the wp-config file? Sorry for rambling but could you also explain the additional translation functions (esc_html__, esc_attr__). I am interested in a simple translation.
Thank you.
April 25, 2019 at 12:54 pm #12359developer vwtheme
ParticipantHi,
Thanks for your post.
Kindly send this query to support@vwthemes.com for further explanation.
Thank you.
August 19, 2020 at 7:01 pm #47578Isam Ishaq
ParticipantDear Attis,
Can you point out how you created the wpml-config.xml to solve the problem?
Thanks
August 20, 2020 at 12:07 pm #47603developer vwtheme
ParticipantHi,
Can we please know which problem you are referring to?
Many Thanks
August 20, 2020 at 5:53 pm #47607Isam Ishaq
ParticipantHi,
I am referring to the problem raised by Attis:
“Simple question: how can I translate eg. the Customizer \ Theme Settings \ Slider Settings \ Slide Text1? Polylang “Strings translations” menu doesn’t list it or any other theme related texts.”The solution that vwtheme suggested “creating .mo and .po files” does not work, as this allows one to translate the customizer interface, but does not allow for translating the texts entered by the site owner, which eventually appear on the website”. I have also sent vwtheme support emails asking about this and they said “It is not a theme issue of language translation. It is an issue of the plugin which you are using”. However, I did not find free plugins that can do this job.
Attis said: “wpml-config.xml solved my problem”. So I am asking, how can I create this file for the theme I am using vw-startup-pro.
Without being able to translate translate these texts all VW Themes are useless to me and I will have to look elsewhere for themes that can be fully translated.Thanks
-
This reply was modified 6 years, 1 month ago by
-
AuthorPosts
- You must be logged in to reply to this topic.