WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Swedish translation (6 posts)

  1. Muerte
    Member
    Posted 1 year ago #

    Hi!
    The swedish translation files are not very good.

    I tried to update the subscribe2-sv_SE.po but the changes that i made will not show?

    I have never worked with .po (or .mo) files before. I just opened it in textwrangler and made my changes and saved the file. That won't work?

    How can i update the files, and "correct" the translations?

    Cheers,
    Daniel

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Contributor

    Posted 1 year ago #

    @Daniel,

    .po files are human readable and need to be converted to machine (computer) readable .mo format for your changes to be applied.

    Have a look at the free POEdit tool, that's a good place to start.

  3. Muerte
    Member
    Posted 1 year ago #

    Downloaded POEdit and made the changes.
    Worked fine!

    Now my issue is with the text in the textfield searchbox:
    Enter email address...
    I would like to change that to? Tried to change the words in the file class-s2-frontend.php but that didn't help and crashed the onBlur...

    Can you point me in the right direction once more?

    Thanks!

  4. Muerte
    Member
    Posted 1 year ago #

    Found the error with the textfield!

    This topic is resolved!

  5. mattyrob
    Member
    Plugin Contributor

    Posted 1 year ago #

    @Daniel,

    That should be in the translation file also, perhaps the PO file you were using was not sufficiently up to date. You can grab the latest master template here.

  6. mattyrob
    Member
    Plugin Contributor

    Posted 1 year ago #

    @Daniel,

    In fact another way around this is to re-use a variable declared earlier in the class. You can replace:
    . __('Enter email address...', 'subscribe2') .
    With:
    . $value .

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.