• yckelvin

    (@yckelvin)


    Dear Sir/Madam,

    After installing the theme-my-login, I find several path contain the language files, may I know which path I should update the language file for theme-my-login?

    wp-content/languages
    wp-content/languages/plugins
    wp-content/plugins/theme-my-login/languages

    Best regards,

    Kelvin.

    https://www.ads-software.com/plugins/theme-my-login/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,
    I have the same problem.
    I renamed theme-my-login.pot, filled in some translations,
    but it doesn’t work.
    I used the language “German”,
    tried the positions
    /wp-content/plugins/theme-my-login/languages/theme-my-login-de_DE.po
    /wp-content/plugins/languages/theme-my-login/theme-my-login-de_DE.po
    /wp-content/languages/theme-my-login/theme-my-login-de_DE.po
    /wp-content/plugins/languages/theme-my-login-de_DE.po

    The owner and file-rights are correct set, but the German language ist not shown – sorry, nothing works.
    Can you please help us?
    Thanks in advance,
    Rudi

    Sorry, I solved my problem.
    For other users:
    put the languagefiles into
    wp-content/plugins/theme-my-login/languages
    Important:
    The plugin needs theme-my-login_de_DE.mo as well as theme-my-login_de_DE.po file in this directory, then the translation works.
    In the moment I did only found the language-files from 2012, If there is a newser .mo-file available and/or some additional translations are needed I would do that for you!
    Best regards,

    Rudi

    Thread Starter yckelvin

    (@yckelvin)

    Hi Rudi,

    Thanks for your sharing. .mo is read by machines and is in binary format while .po is for human edit use.

    I find the language also works if I put under folder
    /wp-content/languages/plugins

    A bit confusing. Don’t know which folder is the best practise. I find lot of other plugins also put their own language there.

    Best regards,

    Kelvin.

    Thread Starter yckelvin

    (@yckelvin)

    If both folders
    wp-content/languages/plugins
    wp-content/plugins/theme-my-login/languages

    are fine to place the translated file. I would suggest to place it under the
    wp-content/plugins/theme-my-login/languages because we can easily zip the whole plugins and ready for another site use. In fact, translation work is not an easy task.

    Just don’t know if I keep language under the
    wp-content/plugins/theme-my-login/languages, will the upgrade remove it.

    Here is a good article I found https://wordpress.stackexchange.com/questions/30555/how-to-keep-plugin-translates-after-updates

    I think we need the author’s final answer.

    Best regards,

    Kelvin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Correct location of language file’ is closed to new replies.