Support » Plugin: The Events Calendar » Translation of month view in mobile of “Events for mm/dd”

  • Resolved genepine


    I’m trying to translate in to Japanese.
    Now, I cannot find out the sentence of “Events for mm/dd” in translation file for month view for mobile.
    The result of HTML
    <div class=”tribe-mobile-day” data-day=”2019-05-11″ style=”display: block;”>
    <h3 class=”tribe-mobile-day-heading”>ワークショップ for <span>5月11日(土)</span></h3>
    Views on page!AuhoZn9EbBHMgpEmr94OLLqROGTzQw
    If you have any information very welcome and I will apply to translation.

    • This topic was modified 1 year, 7 months ago by genepine.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello there!
    You can translate that in the language file in (the-events-calendar/lang/), search for:

    #: src/functions/template-tags/general.php:1230
    msgid "%s for"



    Thanks! I can translate it this strings.

    #: src/functions/template-tags/general.php:1224
    msgid "%s for"
    msgstr "の%s"

    But I have one more trouble that cause from “Word order” in Japanese.
    The result of just only translate.
    <h3 class="tribe-mobile-day-heading">のワークショップ <span>5月27日(月)</span></h3>

    It need to be change word order.
    <h3 class="tribe-mobile-day-heading"><span>5月27日(月)</span>の ワークショップ </h3>

    I found out this part of source.
    line 15:
    <h3 class="tribe-mobile-day-heading">[[=i18n.for_date]] <span>[[=raw date_name]]<\/span><\/h3>[[ } ]]

    So I change order
    <h3 class="tribe-mobile-day-heading"><span>[[=raw date_name]]<\/span>[[=i18n.for_date]]<\/h3>[[ } ]]

    • This reply was modified 1 year, 6 months ago by genepine. Reason: add image link
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Translation of month view in mobile of “Events for mm/dd”’ is closed to new replies.