• miha.wp

    (@mihawp)


    Is one line of code in /lib/sfp-like-box.php all that has to be done to include another language into this plugin?

    I’ve added:
    <option <?php selected(( $local == 'hr_HR') ? 1 : 0);?> value="hr_HR" >Croatian</option>
    and now I see the “Like button” in Croatian “Svi?a mi se. Svi?a ti se ovo.” which is good. The stream descriptions however will be shown in the language that each visitor has set in his fb config, right?

    If it’s just that one line, would it be possible for you to add the line to the official plugin, so my changes won’t get lost whenever I update the plugin? And why not add all known languages from FacebookLocales.xml?

    https://www.ads-software.com/plugins/simple-facebook-plugin/

Viewing 1 replies (of 1 total)
  • Plugin Author Illia

    (@fornyhucker)

    Hi miha.wp!

    Thanks again! We will defently add all languages from FacebookLocales.xml in next release!

Viewing 1 replies (of 1 total)
  • The topic ‘adding another language’ is closed to new replies.