WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Simple Facebook Connect] Localizing simple facebook connect (4 posts)

  1. DreadLox
    Member
    Posted 4 years ago #

    Hello,

    I have started localizing SFC plugin on github.com. I hope Otto will include that in next release.

    If anyone wanting to contribute and/or add your own language, tell me.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    Actually, that's all already been done. Look at the trunk code.

    http://plugins.svn.wordpress.org/simple-facebook-connect/trunk/

    Use the simple-facebook-connect.pot file for the template. The individual PO/MO files will need to be named with the "sfc" prefix and should be put in the main plugin directory.

  3. DreadLox
    Member
    Posted 4 years ago #

    Hello,

    That is nice. Thought I would recommend putting the language files in a languages directory. Is there anywhere I can see your commit history to trunk?

    Also there is an issue with your line feeds in files: "internationalized messages should not contain the `\r' escape sequence" I think it is because you use windows for dev.

    I will send you the french translation when it is ready

    Regards

  4. DreadLox
    Member
    Posted 4 years ago #

    Ok, it is done

    Here is the french tranlation:

    It needs:

    • All nasty widows line feeds to be removed as not allowed in .po and .pot files
    • This and this modifications to sfc-publish.php (missing string to translate)

    So because of one string added and the deletion of nasty windows line feeds, u need to use that updated pot file

    Note that I also fixed some annoying notice errors, here and here

    Regards

Topic Closed

This topic has been closed to new replies.

About this Topic