Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].
Hi Andrew & Co.
Finally I would like to try and install on our page www.badbaljan.com a child them to Vantage and Woocomerce to prevent that my translations always get overwritten…
A long time ago i was planing to take this step and you send me a ready Vantage child theme folder, is that file up to date or do you have a newer one? Can you give me a step by step guide?
Thanks!
Hi EW
Here is a child theme you can use:
https://siteorigin.com/wp-content/uploads/2015/01/vantage-child-translation-ready-02.zip
You’ll need to unzip this folder on your desktop, insert your language files and then re-zip the folder. Install from Appearance > Themes > Add New: Upload Theme. Test it out. If it works you’ll then need to redo Customizer and Menu settings, a result of activating a child theme.
Thanks! :-)
For sure!
Hi,
Sorry, I stumbled on the first step… Were do i find my language file? :-)
Eric
Have you already created translation files? They will be a .mo and .po file extension. Two files. If you have you might have put them in the parent theme’s language folder.
(If you still need to translate here is an overview: http://premium.wpmudev.org/blog/how-to-translate-a-wordpress-theme/)
• If understand correct there is not the mail WP language file I should translate, but it is the existing Swedish translation file for Vantage, correct? (Where is that located?)
• I also like to change the translations in the Swedish Woocomerce language file?And also putting it into into the Vantage child theme. For example the Swedish translation of the “sale flash”. (Where is that located?)
* There is unfortunately no existing Swedish translation file for Vantage, unless perhaps you created your own.
* Here is where to store WooCommerce translations:
http://docs.woothemes.com/document/woocommerce-localization/
See: Making your Localization upgrade safe
To change the WooCommerce Swedish translation you’d need to locate the translation file in the languages folder of WooCommerce at /wp-content/plugins/woocommerce and make changes in the program Poedit. Then save and put in the location described above.
Thanks. Have a nice weekend!
For sure, you too!
Hi Andrew,
I like to translate the English language Vantage file to Swedish with PoEdit. And then put it into the Vantage child theme. I tried to find it with filezilla, were is it located?
Is this the file I am looking for, /wp-content/themes/vantage/languages/vantage.pot. ?
That’s correct. That’s the file you need to use to begin the translation.
I guess missed something.
I have translated some text strings in the file /wp-content/themes/vantage/languages/vantage.pot.
and after that placed both the vantage.mo and the vantage.pot into the vantage-child language folder and then I re-zip the folder and Install from Appearance > Themes > Add New: Upload Theme. But then WP says that the theme misses the style.css. Can you help me please?
The language files need to be saved with a corresponding file name:
sv_SE.mo
sv_SE.po
To confirm this, check what the lang code is that is listed in your wp-config.php file found in your WordPress root. That lang variable there needs to correspond with these files names.
Missing stylesheet is a problem. Can you mail that ZIP to me quick. Let me check it right now.
[email protected]
ok now it is sent. Thanks!
Got it. Thanks.
Hi,
Have you been able to check the child theme folder?
Eric
Thanks for the bump Eric, I’ll jump into that as soon as possible. Apologies for the wait.
Hi Andrew, Sorry to bump you again… Have you forgotten me or are you busy? If you are really busy you can take this case when you find some gap.
Eric
So sorry Eric, I cleared email down to zero last night. Let me go dig around in closed tickets and see what’s up.
Greg and I both took a look at your functions.php file now and it all looks solid. This is what you sent:
Assuming your Vantage parent folder is correctly named “vantage” then the child theme should see the parent stylesheet.
Hi Andrew & Co. :-)
Many many many thanks for your help and patience! I think i manage to upload the child theme and I hope it work. Have a great weekend!
Eric
For sure, anytime. Hope you make progress here. Let us know if you get stuck.