New Landing How can we help? Themeforest Theme Support Neighborhood Issues (translate and sale module) with Neighborhood

Viewing 15 posts - 1 through 15 (of 15 total)
  • #85664
    ehandelsfabriken
    Member
    Post count: 85

    I have a couple of issues with Neighborhood at http://www.grafiskatryck.se/

    WordPress: 3.9.1
    WooCommerce: 2.1.11
    Neighborhood: 1.80

    1. First is the translation of “Sale!”. It’s translated in the swedish language file. It displays as it should the the specific product page http://www.grafiskatryck.se/produkt/herr-kanin/, but not at the home page http://www.grafiskatryck.se/.
    Image: https://dl.dropboxusercontent.com/u/22182623/Sk%C3%A4rmavbild%202014-06-25%20kl.%2013.24.27.png

    2. Same goes for “X Review” at http://www.grafiskatryck.se/produkt/herr-kanin/. It’s translated in swedish but displays in english at the product page.
    Image: https://dl.dropboxusercontent.com/u/22182623/Sk%C3%A4rmavbild%202014-06-25%20kl.%2013.25.17.png

    3. When loading the checkout page at http://www.grafiskatryck.se/till-kassan/, I can see the translated strings “Produkt” and “Ordertotal”. However, when the right section of the checkout page has loaded the strings are changed to “Product” and “Order totalt”. Why?
    Images: https://dl.dropboxusercontent.com/u/22182623/Sk%C3%A4rmavbild%202014-06-25%20kl.%2013.47.02.png, https://dl.dropboxusercontent.com/u/22182623/Sk%C3%A4rmavbild%202014-06-25%20kl.%2013.47.13.png

    4. The last issue is the Sale module on the home page. I currently only have one product on sale. However, it display all my products, even those not on sale. Why?
    Image: https://dl.dropboxusercontent.com/u/22182623/Sk%C3%A4rmavbild%202014-06-25%20kl.%2013.24.55.png

    #85951
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    How are you translating the site?

    Best Regards,
    Rui

    #85985
    ehandelsfabriken
    Member
    Post count: 85

    With POEdit.

    #85992
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Here is an updated Swedish po/mo files – the line numbers may be different from the ones you have. Hopefully that sorts it.

    – Ed

    #86144
    ehandelsfabriken
    Member
    Post count: 85

    I tried replacing the files, but it didn’t make any difference. I have deleted my cache and refreshed the page several times. It didn’t work. I think the problem is that the line numbers in the theme doesn’t correspond to the correct line numbers for the latest WooCommerce language files. I have the very latest WooCommerce language files and it holds the words “Produkt” and “Ordertotal” which I mentioned above as for the right section of the checkout page goes. I noticed that these two words are not part of the theme translation.

    I’m really looking forward to an online service where we can translate the theme to always have 100% translated language files distributed with the theme releases. Something like https://www.transifex.com/projects/p/woocommerce/ maybe?

    Also, what do you think about issue 4. above? Shouldn’t be related to the language files. But why isn’t it working? It should only show products with a sale price.

    #86435
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Can you let me know which strings/line numbers – i’ll check these.

    Yes – we’ve seen that service, hopefully it comes through!

    4) Just checked here and definitely only sale products show, at least on our test sites. Are those products on schedule for sale? What happens if you increase the number of products shown?

    – Ed

    #86577
    ehandelsfabriken
    Member
    Post count: 85

    woocommerce-sv_SE.po:

    “Sale!”: Line 1873 (Homepage only, works fine on product page).
    “Review/Reviews”: Not sure what line this is or if it’s in your .mo-file or the Woo .mo-file. (Product page)
    “Categories, Tags”: Not sure what line this is or if it’s in your .mo-file or the Woo .mo-file. (Product page)
    “Product”: Line 1313 (Checkout page).
    “Order Total”: Line 1772 (Checkout page).

    4) If I change the number of products to show from 3 to 1, then it only shows the only on sale product. But this feels somewhat wrong. It shouldn’t show more than one anyway since there’s only one product on sale. The on sale variable should overwrite the number of products to show.

    #86714
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Just fixed the sale string issue, it’s now in the files (download link to the updated theme build in my next post)

    The below should all be WooCommerce
    “Review/Reviews”: Not sure what line this is or if it’s in your .mo-file or the Woo .mo-file. (Product page)
    “Categories, Tags”: Not sure what line this is or if it’s in your .mo-file or the Woo .mo-file. (Product page)
    “Product”: Line 1313 (Checkout page).
    “Order Total”: Line 1772 (Checkout page).

    4) What I meant was, if you increase the number to 20 or something as a test. It would be interesting to see what is shown then. As I said, I can only get sale products to show here, no others. So I wonder if there is something with your products, or maybe a plugin conflicting..

    – Ed

    #86715
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    This reply has been marked as private.
    #87481
    ehandelsfabriken
    Member
    Post count: 85

    4) Increasing the number to 20 shows all products (only have 4) if none of them are on sale. If only one is on sale, it only shows that one.

    “Product”: Line 1313 (Checkout page).
    “Order Total”: Line 1772 (Checkout page).

    This is not really a translation error I think. Both strings are fully translated in my .mo. Add something to the cart at http://www.grafiskatryck.se and go the the checkout at http://www.grafiskatryck.se/betala/. While the right section is being loaded take a close look to the words Produkt and Ordertotal. You will then see the correct translation. However, when the page is fully loaded it changes to Product and Order Total. Why is this? Error in the theme?

    “Tags” is in my theme .mo file on line 444, refers to sf-blog.php line 1.
    “Tags” is in my theme .mo file on line 445, refers to single.php line 201. (I think this is the one we are looking for…)

    In the Woo .mo file I can only find “Tags (Admin menu name) on line 1282, refers to class-wc-post-types.php:94.

    “Categories” I have on line 115 in my theme .mo file, refers to shortcodes.php:1 and sf-blog:1.
    In the Woo .mo file I can only find “Categories (Admin menu name) on line 1270, refers to class-wc-post-types.php:59.

    “Reviews” I have in my theme .mo file on line 381, refers to sf-woocommerce.php:327. No addition for plural/singular here though so it might not be the one we are looking for.

    In the Woo .mo file I have “Reviews” on line 1940, refers to single-product-reviews.php:23. No addition for plural/singular here though so it might not be the one we are looking for.

    Also have Reviews with singular/plural values on line 1939, 1932 and 1681 with (%d) added after the translation.

    #88194
    Swift Ideas – Ed
    Keymaster
    Post count: 15264
    This reply has been marked as private.
    #88972
    ehandelsfabriken
    Member
    Post count: 85

    I’m not using WooCommerce Multilingual. So you are saying that the right section of the checkout page isn’t your code at all as far as both translation and php code goes? Everything under “Your Order”? I hear ya, I will go bother someone else with that then 🙂

    I updated the theme with your provided file. Should I update my current swedish .po file with the new english .po file? With the one that doesn’t have _old in it’s file name?
    I noticed that the new one had like +1000 new strings. The old one had 526 strings and this new one has 1586 strings. Is that correct? That’s a lot of new strings 🙂

    As I said I have not yet updated my .po file but I can see that another issue has been solved with this update. That’s the number of sale products shown by the sale products module. It works perfectly now only displaying my sale products and when there aren’t any sale products available it doesn’t display anything.

    #89883
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    That’s correct – that comes from the WooCommerce files.

    Yes that is correct – that now contains all the strings for the front/back of Dante, but of course you don’t need to translate all if you don’t need.

    Hope that helps.

    – Ed

    #89885
    ehandelsfabriken
    Member
    Post count: 85

    That now contains all the strings for the front/back of Dante, but of course you don’t need to translate all if you don’t need.

    I suppose you mean “Neighborhood”? Just checking 🙂

    #89916
    Melanie – SUPPORT
    Member
    Post count: 11032

    ^ yes definitely! Sorry for the confusion 😀

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register