WordPress.org

Ready to get started?Download WordPress

Forums

How to translate output from plugin (1 post)

  1. peakpp
    Member
    Posted 1 year ago #

    I use a plugin called Social Mobile Platform plugin. In it is a folder called language, and inside it there are 2 files, social-mobile-en_GB.po, social-mobile-en_GB.mo. This means there is already support for languages.

    Problem is, the original files are translating from "nromal" English to GB -- British English. There is no variance between EN and GB in this file, so it is impossible to tell if it works out out the box.

    I translated the files and crated 2 files, social-mobile-nb_NO.po, social-mobile-nb_NO.mo I put them in my plugin languages folder. But translation does not work.

    Now I can't find where in the javascript these files are called out. Language support for the THEME is called out in the wp-config file, line 72.

    Could I add an additional callout for social-mobile-nb_NO.po here? Or is there a serapate callout in one of the plugin files?

Topic Closed

This topic has been closed to new replies.

About this Topic