Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter viktazon

    (@viktazon)

    $custom_text = [
    'Prev_text' => 'Prev_MYtext',
    'Events' => 'events',
    ];
    
    $custom_text = [
    '
     Prev_text ' => 'Prev_MYtext',
    'Events' => 'events',
    ];

    — it doesn’t work. And any other options I could think of, too

    Thread Starter viktazon

    (@viktazon)

    It would be good to introduce a more flexible translation system. Unfortunately, not all languages allow you to combine words in the same way as English. Each combination needs its own translation.
    Just like words when output in different places may have different case or be replaced by another word.

    $custom_text = [
    'Events' => 'events',
    ];

    This translation, for example, changes the name not only in the link under the events (Previous Events and Next Event), but, surprisingly, in the header of the admin panel :0

    Thank you for the module. I wish you further successful development.

    Plugin Support Darian

    (@d0153)

    Hi @viktazon

    Thank you for reaching out to us.

    We understand how important your concerns are, and we appreciate you taking the time to bring this to our attention. Rest assured that I will pass this on to our team and update you as soon as I know more.

    Plugin Support Darian

    (@d0153)

    Hi @viktazon

    Thanks for patiently waiting. Could you try the following if it works for you?

     $custom_text = [
            'Previous %1$s' => 'myPrev %1$s',
    	'Events' => "myEvents"
        ];

    Let me know how it goes.

    Thread Starter viktazon

    (@viktazon)

    Darian, Thanks! It works!

    Plugin Support Darian

    (@d0153)

    Hi @viktazon

    Thanks for your confirmation and I’m glad that it is now working.

    If you have some time to review, that would be amazing!

    https://www.ads-software.com/support/plugin/the-events-calendar/reviews/

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Wording’ is closed to new replies.