• Resolved CarinaWJ

    (@carinawj)


    Hi and thanks for a great plugin.

    I need som help in changing “Read more” and where to find it. I searched in the language file PO but cannot find it. So I wonder how to change it so the swedish “l?s mer” shows.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • That string is probably coming from your theme.

    Thread Starter CarinaWJ

    (@carinawj)

    I thought so at first and searched through the theme several times as well for read more to no avail. So all that was left is the plugin.

    This looks like a genuine bug in the plug-in.

    Wordpress has a function called __() (really!) that plugin developers can use to make their text strings translatable.

    The Event List plugin uses the string “read more” in three different places; two of these (both in includes/event.php) do not use the __() function, the third does (in sc_event-list.php), but does not add the translation domain, meaning that WordPress will try and fetch a translation from its own translation file, where it cannot find one.

    Unfortunately this is not something for which an easy work-around exists.

    This is something only the plugin author can fix properly.

    Plugin Author mibuthu

    (@mibuthu)

    Thanks for the report, this should be fixed in version 0.8.6

    Thread Starter CarinaWJ

    (@carinawj)

    Thansk for the update but it won′t change the part “read more”. Maybe there is something I am doing wrong but here is a link to the eventpage we have https://mce.se/evenemang/ I added the Swedish translation to the PO file.

    The PHP translation functions don’t read the po file directly, but the corresponding .mo file, which is a compiled version. You can compile your po file into mo using Poedit (a downloadable program that runs on your computer) or Loco Translate (a WordPress plugin).

    Thread Starter CarinaWJ

    (@carinawj)

    Thanks a lot Tor-Bj?rn, that worked just as I wished it to.

    Wish you a great day!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change language specific details’ is closed to new replies.