Support » Plugin: VikRestaurants Table Reservations and Take-Away » Strings missed for translation

  • Resolved covalenciawebs

    (@cowalenciawebs)


    Hi, first of all thank you for the plugin.

    I am traslating the frontend with Loco Translate plugin and have found there are 2 strings that are not able to translate:

    – Reservations are accepted starting from %s after the current time.
    – I read and accept the terms and conditions.

    In the second one, there should be a link to the page with the terms, but I haven’t found it in the setting (I don’t know if it exists).

    Thank you very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    Reservations are accepted starting from %s after the current time.

    This translation is applied by using the following code:

    // @TRANSLATORS: %s wildcard will be replaced by a formatted duration, such as [30 min.] or [2 hours] or [1 day, 3 hours & 30 min.]
    _x('Reservations are accepted starting from %s after the current time.', '%s wildcard will be replaced by a formatted duration, such as [30 min.] or [2 hours] or [1 day, 3 hours & 30 min.]', 'vikrestaurants');

    It is possible that LocoTranslate is not able to find the specified strings because of the missing $context argument, used to explain how the %s wildcard will be replaced.

    I read and accept the terms and conditions.

    This is not a translation, this is a custom field created during the installation of the plugin. You can change it by editing the record from the Global > Custom Fields page of VikRestaurants.

    If you need to translate that text in multiple languages, the PRO version of the plugin is needed, because the free version do not support multilingual contents.

    Thread Starter covalenciawebs

    (@cowalenciawebs)

    Thanks for the quick answer. Everything is clear.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Strings missed for translation’ is closed to new replies.