Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Translation – items in shopping bag / your selection…
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › Translation – items in shopping bag / your selection…
- This topic has 19 replies, 5 voices, and was last updated 10 years by Melanie – SUPPORT.
-
Posted in: Neighborhood
-
November 8, 2013 at 12:27 pm #30484
Hello there,
i am still having problems translating the following strings into the german language:
1) when hovering over the shopping bag icon – 0, 1 or more items in shopping bag
2) viewing the shopping bag: Your selection (.. item/s)
3) checkout: labels “Postcode/Zip”, “Town/City” and placeholder input text “Street adress”, “Apartment”, etc..I am running the newest version of the theme, edited the po files of woocommerce and neighborhood.
Everything else is running fine.When i put a new item in my shopping bag, i sometimes see the correct translation for 1 or 2 seconds hovering over the shopping bag item, but then the english text appears again.
Please help.
http://www.elbkalender.de
By clicking on “Elbkalender” you can add an article to the shopping bag, and the shopping bag can be found by clicking on “Warenkorb”.Thanks in advance
Hannes
November 12, 2013 at 8:59 am #30894Hi,
Those are sure inside the po file, try the latest po file.
1. 0 items remaining is in #32 in the en_Us.po file. (Open that in the text editor of your choice, say Sublime 3)
2. in the shopping bag text (this text is used to display 1, 2, 3 etc items in the shopping bag text. in #2672 in the po file.
3. Your selection is in #2636
4. Those address fields are woocommerce strings did you try with those? Which plugin or method you use to translate woocommerce?I attach the latest po file just in case, try with that.
Let me know, what you got.
Thanks,
laranz.November 12, 2013 at 9:12 am #30897Hi Laranz,
thanks for your help.
I use poedit to translate.
I found all the strings in the po files in neighborhood and in the woocommerce folder and translated them, but those changes do not show on the website.But the po file i used is a little bit older, because i didn´t want to redo all the changes i already made. Could that be the problem?
Is it possible to import my old changes to the new po file you sent me?
Or should i better use a plugin for translating or another program instead of poedit?
And if so – any suggestions?A lot of questions…
Hope you can help me
Thanks in advance once again
and greetings from GermanyHannes
November 13, 2013 at 10:49 pm #31241Hi Hannes,
I forward this to the developer, he will be in touch with you shortly on this.
Make sure you follow all the steps in this video, during the translation. http://www.youtube.com/watch?v=1xqcxncNmT0
Let me know, what you got.
Thanks,
laranz.November 14, 2013 at 4:47 pm #31345POEdit should work absolutely fine.
Please update to the latest PO file. You can update the file that you’ve currently translated, that will allow you to keep your progress.
– Ed
November 15, 2013 at 9:51 am #31484Hi Ed,
the zip file you attached was empty.
And how do i update the po file i already translated with poedit? Don´t i need a pot file then?And one thing that really irritates me is the following:
When i put a new item in my shopping bag, i sometimes see the correct german translation for 1 or 2 seconds hovering over the shopping bag item, but then the english text appears again.Doesn´t that indicate, that the translation in the po file is correct but gets overwritten with something?
Thanks
Hannes
November 16, 2013 at 1:16 pm #31650Apologies, attached the correct zip now.
That is the WooCommerce ajax updating the bag. You need to make sure you have the correct currency codes set in the WooCommerce options, so that they link to the language correctly.
– Ed
November 19, 2013 at 12:28 pm #32025Hi Ed,
in woocommerce settings i had set the base location to Germany and the currency to euros.
Ajax is still updating the translation from german to english.
See attached screenshot for the woocommerce settings.I can sent you a login if that would help…
Thanks again
Hannes
November 19, 2013 at 5:07 pm #32125Please check the following topic, as other users had this issue and found it wasn’t set up correctly on their end. http://support.swiftideas.net/forums/topic/wpml-language-issue-with-cart-widget/page/3/#post-30228
– Ed
November 20, 2013 at 9:07 am #32244Hi Ed,
thanks for the link.
I read the post and just installed the wpml plugin, although i don´t need to have any other language than german on my site. Doesn´t change anything. 1 item in shopping bag is not translated.
I deleted line 99 in sf-woocommerce.php. Didn´t help.This is really a big issue for me. I would like to use the neighborhood theme for three different onlineshops in germany, but if i do not get this fixed i can´t use the theme.
Hannes
November 21, 2013 at 12:51 am #32465Hi Hannes,
So you only want one language on your site, not multiple to select from? If so then I apologise for any confusion, you should be fine without WPML.
My guess is that you’re using an old language file, and theme version? You should be running v1.3.4, and that translation file will definitely work 100% for the cart dropdown.
Hope that helps.
– Ed
November 21, 2013 at 7:10 pm #32660Hello,
I had the same problem, but I can´t replace the .po file because I already translated all things.
So, I tried to change this word into the code. I changed:
<div class=”bag-header”><?php _e(“0 items in the shopping bag”, “swiftframework”); ?></div> into sf-woocommerce.php and $cart_output .= ‘<div class=”bag-header”>’.__(“0 items in the shopping bag”, “swiftframework”).'</div>’; into sf-header.php but doesn´t work.
Where I need to change into the code for fix this problem?
Thanks,
November 22, 2013 at 12:39 pm #32783@daniella.borges – Please update your theme, that code has been changed to fix the issue 🙂
– Ed
November 22, 2013 at 8:08 pm #32868Ed,
I updated my theme yesterday, but I can´t replace the po file, I need the pot file to updated only.
My problem persist.
Thanks,
November 23, 2013 at 12:54 am #32932The POT file is the .po file.
In POEdit, go to Catalog > Update from POT file – https://www.dropbox.com/s/f4a3yut7lb0on7y/Screenshot%202013-11-23%2000.49.41.png
Then select the .po file that I attached. It will update the strings for you.
Hope that helps.
– Ed
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.