• Resolved igornn

    (@igornn)


    Hi,
    in the hebrew translate there is some bug.

    all the strings are translated to hebrew but only the menu item dont (bookings and addons)

    you can see it here:
    image

    this what i see in the PO file

    # _x( ‘Bookings’, ‘Title of admin page that lists bookings’, ‘restaurant-reservations’ ),
    # _x( ‘Bookings’, ‘Title of bookings admin menu item’, ‘restaurant-reservations’ ),
    # ‘manage_bookings’,
    # wpml-name: a35529bfcfdfab2dc01946af64cd2ce4
    msgid “Bookings”
    msgstr “הזמנות”

    https://ww.wp.xz.cn/plugins/restaurant-reservations/

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

    (@igornn)

    ok i see more places:

    popup
    time

    here is what i have in the PO:

    msgid “Every day”
    msgstr “כל יום”

    msgid “Days of the week”
    msgstr “ימים בשבוע”

    msgid “Weekly”
    msgstr “שבועי”

    msgid “Mo”
    msgstr “שני”

    msgid “Tu”
    msgstr “שלישי”

    msgid “We”
    msgstr “רבעי”

    msgid “Th”
    msgstr “חמישי”

    msgid “Fr”
    msgstr “שישי”

    msgid “Sa”
    msgstr “שבת”

    msgid “Su”
    msgstr “ראשון”

    msgid “All day”
    msgstr “כל היום”

    msgid “Start”
    msgstr “התחלה”

    msgid “End”
    msgstr “סיום”

    Hi igornn,

    What’s the name of your .po/.mo file? I notice that the Hebrew .po/.mo files that [ship with the theme](https://github.com/NateWr/restaurant-reservations/blob/master/languages/restaurant-reservations-he_IL.po) haven’t been updated with some recent translation changes, so perhaps it’s loading that file instead of yours?

    Thread Starter igornn

    (@igornn)

    Hi NateWr,
    my own files also have some errors after i tried to add new strings.

    so i switched to new that shipped with the plugin.

    but seems the also not translate all the strings.

    Hi igornn,

    The Hebrew-language .po file that ships with the plugin is a little out of date and so missing a few strings. If you’re familiar with PoEdit, can you add the missing strings and then submit the update to me?

    Thread Starter igornn

    (@igornn)

    Hi NateWr,

    of course but the question is why there is some strings (exist) that not show in the Hebrew language?

    in the po i see them but in the admin i still see english as in the images i have add

    Hi igornn,

    My best guess is that the .po file does not correspond to the .mo file that’s actually being loaded, either because it wasn’t compiled into the .mo file there, or because a different .mo file in a different location is being loaded.

    I know that not too long ago there was a change in how those strings are structured, to correspond with some upcoming changes to how translations will be managed in the plugin repository. But you can see all of the strings are set up properly for translation here.

    Maybe you can try recreating the .po file from the latest .pot file and then freshly compiling it to .mo?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘menu item not translated’ is closed to new replies.