WordPress.org

Forums

Appointment Calendar
Translating (12 posts)

  1. Jhazelhoff
    Member
    Posted 1 year ago #

    Hello everyone,

    I'm trying to translate this plug-in to dutch.
    This is not working and i got the feeling that it is because i don't have the premium version. Is this correct?

    sincerely,
    Joost

    https://wordpress.org/plugins/appointment-calendar/

  2. a.ankit
    Member
    Plugin Author

    Posted 1 year ago #

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

  3. phaapa
    Member
    Posted 10 months ago #

    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.

  4. Basz85
    Member
    Posted 7 months ago #

    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 ;).

  5. brutex
    Member
    Posted 7 months ago #

    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 :(

  6. abhishek
    Member
    Posted 7 months ago #

    Hi brutex,

    In which language you need to translate

    Thanks

  7. brutex
    Member
    Posted 7 months ago #

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

  8. abhishek
    Member
    Posted 7 months ago #

    ok send your site url
    Thanks

  9. brutex
    Member
    Posted 7 months ago #

  10. abhishek
    Member
    Posted 7 months ago #

    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

  11. brutex
    Member
    Posted 7 months ago #

    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?

  12. brutex
    Member
    Posted 7 months ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Appointment Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic