WordPress.org

Support

Support » Plugins and Hacks » Translating

Translating

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author a.ankit
    Member

    @aankit

    The free version is translation ready… it can be translated to dutch or any other language for that matter

    phaapa
    Member

    @phaapa

    Hi,
    I am also trying to translate plugin (free version). Im translating it to finnish the free, no luck.
    Actually the calendar plugin is only working in Dashboard view when I have language set to Finnish (Suomi) in WordPress Setting/General/ Site Language. So when I have WordPress language set to Finnish and set the short code on some page and go to that page the calendar is open but when I click Booking-button following error appears in the schedule new appointment window:


    Warning: include_once(lang/calendar.fi.php): failed to open stream: No such file or directory in /home/wellmoti/public_html/wp-content/plugins/appointment-calendar/calendar/tc_calendar.php on line 157

    Warning: include_once(): Failed opening ‘lang/calendar.fi.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wellmoti/public_html/wp-content/plugins/appointment-calendar/calendar/tc_calendar.php on line 157

    I got rid off this error by selecting WordPress language to English (United States). Then I tried to translate the language by the instructions but nothing was changed, all still english. Translation is not working either when I have WordPress language set to Finnish (Suomi) and I try to use Dashboard Admin calendar, there still English too. What could be wrong?? Please help.

    Is this plugin compatible with WordPress 4.0?

    Thanks.

    Basz85
    Participant

    @basz85

    Hi,

    Did you already translate the wp-config.php to Suomi/Finnish? define(‘WPLANG’, ‘…’) and under folder plugins/appointment-calander/languages/ the .po file? I’m not for sure is this also for the premium version.

    Greetings,
    Bas

    This plugin is up to 4.0.1 WordPress version ;).

    brutex
    Participant

    @brutex

    I have the same problem. Everything else is working perfectly but the same error is shown when clicking the “Schedule An Appointment”-button.

    Translation is done in wp-config and in the plugin and the translations are working. The Schedule New Appointment is working in the Admin Calendar but not in the front-end 🙁

    abhishek
    Participant

    @abhipathak

    Hi brutex,

    In which language you need to translate

    Thanks

    brutex
    Participant

    @brutex

    I have already translated the language (Finnish) but the New appointment gives the error

    abhishek
    Participant

    @abhipathak

    ok send your site url
    Thanks

    brutex
    Participant

    @brutex

    abhishek
    Participant

    @abhipathak

    Hi brutex,

    plz replace your po and mo file with fi_FI because you give only file name with fi and also in wp-config.php and this file name not found in small calendar folder,
    here a example po and mo file
    appointzilla-fi_FI.mo -> for mo file
    appointzilla-fi_FI -> for po file
    and in wp-config.php
    write like that
    define(‘WPLANG’, ‘fi_FI’);
    i think it will help you

    Thanks

    brutex
    Participant

    @brutex

    Hi abhishek!

    Thanks for the tip! I tried to rename them but it didnt work. Actually the translation in the site did not even work because there are no other counties that speaks finnish so the wordpress language code is just fi and not fi_FI.

    Could it be that the plugin thinks that it is suppose to be fi_FI?

    brutex
    Participant

    @brutex

    Yeah! That was the problem.

    In appointment-calendar/calendar/lang/ there was a file named calendar.fi_FI.php so i changed it to calendar.fi.php and it started working.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Translating’ is closed to new replies.