• Resolved ituk

    (@ituk)


    the strings “Attribute Name” and “Value” in the following files are not translatable:
    \events-manager\templates\forms\event\attributes.php: line 21
    \events-manager\templates\forms\location\attributes.php: line 21

    i’ve manually edited the files and wrapped the stings with e_(), but this would probably be overridden in the next update:

    <td><strong><?php _e('Attribute Name'); ?></strong></td>
    <td><strong><?php _e('Value'); ?></strong></td>

    also, even by doing this i had to manually edit the .po files to translate them.

    Itamar

Viewing 1 replies (of 1 total)
  • Since this is a template file, you can simply copy it to wp-content/themes/your-theme/plugins/events-manager/forms/event/attributes.php and wp-content/themes/your-theme/plugins/events-manager/forms/location/attributes.php

    That will keep it save from updates.

    also, even by doing this i had to manually edit the .po files to translate them.

    That is logical. The strings were not translatable before, so they were not indexed into the .pot file and therefore need to be added manually.

    You could also simply hard code the translated name in your template file. ??

Viewing 1 replies (of 1 total)
  • The topic ‘2 strings are not translatable’ is closed to new replies.