Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter jdev53

    (@jdev53)

    Hello

    Thanks a lot for the link!

    Regards

    Thread Starter jdev53

    (@jdev53)

    Hello

    Thanks for reply.
    Renaming the file to yit-ja.po did the trick!

    The other files on the server are named as yit-de_DE.po, yit-es_AR.po etc. so I named Japanese po file as yit-jp_JP.po and that’s where I went wrong. At that time I wasn’t aware of ‘JA’ for po file.

    Thanks a lot!

    Thread Starter jdev53

    (@jdev53)

    Hi,

    Yes, I’ve added the translation next to default words and uploaded the file. WordPress default language is already set to Japanese.
    Is there any option to insert the strings directly into PHP files?

    Thanks

    Thread Starter jdev53

    (@jdev53)

    Hello CasualLeo

    Thanks for suggestion. I tried that method before starting this thread.
    I’m building a Japanese website and there wasn’t any po file for Japanese strings. So I copied default.po file and renamed it to yit_es_JP.po and uploaded .po and .mo files to the server, but there wasn’t any change. Can we use default.po file for custom po files?

    Thanks

    Thread Starter jdev53

    (@jdev53)

    Hello,

    Thanks for reply.
    Plugin version is 2.0.4 and there are a few options for translating strings. However those options are for translating “Add to Wishlist” text, “Browse wishlist” text, “Product already in wishlist” text, “Product added” text and “Add to Cart” text. The “Product added” text in those option is related to the text which is shown after clicking the Add to wishlist button, but that message is a normal text and not an AJAX message.
    I couldn’t find any option for translating AJAX messages like ‘Product added!'(displayed on single product page),’PRODUCT SUCCESSFULLY REMOVED.'(displayed on wishlist page), ‘No products were added to the wishlist’ (displayed on wishlist page) etc.
    The WordPress is already installed in Japanese language and I’ve also tried to translate the strings in .po file of WordPress. I couldn’t find the strings mentioned above in the WordPress po file so I tried to change the strings in the po file of plugin. There was no change at all.
    I checked the guide. I don’t have WPML plugin but I know the process of translating strings in po file using POFileEditor.
    Because the po file tweak didn’t work, I also tried to find the strings in PHP files but couldn’t find them.
    Could you please suggest simple process of translating the strings in po file or directly in PHP files? Where can I find the AJAX strings?

    Thanks and regards

Viewing 5 replies - 1 through 5 (of 5 total)