Summer Sale Alert! Save 20% on WP Theme Bundle: 240+ WP Themes & 5 Plugins. Use Code "SIZZLE20"
Summer Splash Sale: Dive into 25% Off On All Our Premium WordPress Themes! Use Coupon Code "SPLASH25" at Checkout.

VW INDUSTRIAL translation

Home Forums VW Theme VW INDUSTRIAL translation

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27842
    Yevgen Yer
    Participant

    I’am truing to make a multilingual website. I am using Polylang plugin for this, but it can’t see the string for translations (sections headers and text from sections) how can i fix it?

    #27850
    developer vwtheme
    Participant

    Hi,

    The free version of POEdit doesn’t have the “Translate WordPress theme or plugin” functionality, but you can still generate the .po/.mo files used to translate your plugin with these instructions:

    Download POEdit
    Run POEdit, then go to File > New…
    Select the language of your translation strings in the plugin
    Go to File > Save and save the file somewhere (recommended to put it in the languages folder inside your plugin)
    Click “Extract From Sources”
    Click the small “+” button under “Paths” (bottom left corner) and select the main folder of your plugin
    Click the “Sources Keywords” tab along the top
    Click the small add button (second from the left)
    Enter __ (that’s two underscores) then press enter
    Click on the small add button again, then enter _e (underscore then e) and press enter
    Repeat to add any additional functions you might have used to translate in your plugin, such as esc_html__ (with two underscores at the end)
    Click OK
    Verify all your strings were found, otherwise go to Catalog > Properties… in the menu and add any additional translation functions (like esc_attr__) in the Sources Keywords tab
    Go to File > Save to save your .mo file again
    Include the .po and .mo files in your plugin’s languages/ folder or make it available for download somewhere.

    There are also paid plugins available for language translation.

    Thank You.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.