Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Thanks for the compliment!

    The plugin has a complete i18n implementation but I do not currently provide any “pomo” files for the plugin itself. Although the plugin’s next review/re-factor cycle is not due for some time, is there something specific I missed? I am not seeing anything significant in the code but if I have overlooked something by all means let me know.

    Thanks, again!

    ~Cais.

    Thread Starter Fizzgigg

    (@fizzgigg)

    I cant tell if anything has been missed, I just would like the plugin in Swedish. ??

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Aha … well that would require a Swedish translator (*grin*).

    ~Cais.

    Thread Starter Fizzgigg

    (@fizzgigg)

    I found one *looking in the mirror*. ??

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Have a look at version 0.4 (just uploaded). I believe it has everything covered including a .pot file … and there was a significant miss in the i18n implementation that I needed to address.

    Thanks for the incentive to have a closer look at this plugin, hopefully you can carry it forward and complete your translations now.

    Please remember to use this location for your translation files (.po and .mo):
    ../wp-content/languages/plugins/ (this is the most update safe location)

    Using the following naming conventions:
    <plugin textdomain>-<language>_<country>.po
    <plugin textdomain>-<language>_<country>.mo

    ~Cais.

    PS: I believe the following would be the most correct for Swedish:
    bns-site-data-sv_SE.po and bns-site-data-sv_SE.mo

    Thread Starter Fizzgigg

    (@fizzgigg)

    I named the files bns-site-data-sv_SE.mo and bns-site-data-sv_SE.po and placed them in the root of the plugin folder, but when I use it the text when configurating the widget is in English and for the visitor there are no text att all, only the numbers.

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Did you try the translation files if placed in this location:
    ../wp-content/languages/plugins/

    Thread Starter Fizzgigg

    (@fizzgigg)

    I did now (along with the root folder of the plugin), no change – still no text.

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg

    The “text” does appear when you do not use your translation files, correct?

    ~Cais.

    PS: Try updating to version 0.4.1 (just released a few moments ago) and continue to use the ../wp-content/languages/plugins/ folder as noted above.

    Thread Starter Fizzgigg

    (@fizzgigg)

    Yes, when I deleted the language files, English text showed.

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Really sorry about all this inconvenience … I got a little too fancy in the code and didn’t think it through clearly enough. I missed converting a string to an integer in the i18n implementation and that is what caused the translation files to not work correctly (or at least this is what I suspect).

    Version 0.4.2 should have this corrected. Please let me know if you are still having issues.

    Thanks … and Happy New Year!

    ~Cais.

    Thread Starter Fizzgigg

    (@fizzgigg)

    No problem, good thing if I can be of any help.

    Updated with the following result:
    * Without launguage files – English text.
    * With language files in ../wp-content/languages/plugins/ there is no text at all.
    * With language files in ../wp-content/plugins/bns-site-data there is no text at all.

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg

    Hmm … can you send me the language files you are working with? (Just follow the “title” link beside my avatar to get my email address.)

    Thanks!

    ~Cais

    Thread Starter Fizzgigg

    (@fizzgigg)

    Couldn’t find the address, but you can find the files here: https://dl.dropboxusercontent.com/u/8772619/bns-site-data-sv_SE.zip

    They are not finished yet, I still need to see them in context before I can hand them over as a real translation.

    Plugin Author Edward Caissie

    (@cais)

    @fizzgigg – Thanks, I’ll see what I can do with these as a reference point.

    ~Cais.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Language support’ is closed to new replies.