As previously announced via banners and our newsletters, support is no longer available through this platform.

For easier navigation, you can still click on "Submit a Ticket" here, choose the appropriate category, and you'll be redirected to the correct support channel for your plugin.

You can still access your previous tickets and browse public tickets, but please note that responding to tickets is no longer possible.

Paid customers: Please log in to your store account for support.

Pre-purchase questions: Use the support widget in the bottom-right corner of our websites:
https://wpamelia.com
https://wpdatatables.com
https://wpreportbuilder.com

Okay
  Public Ticket #1773503
How can I translate the user role?
Closed

Comments

  • antoninimarcos started the conversation

    Basically that. I want to translate or at least remove the prefix "Amelia" to all user roles, which appear in the list of users and inside each user's profile.

  •  472
    Isidora replied

    Hi antoninimarcos,
    Thank you for your purchase.

    Yes you can change that, but you need to modify some file in core of the plugin. In file wp-content/plugins/ameliabooking/src/Infrastructure/WP/config/Roles.php around lines 90, 103 and 120 you will find this

    #Line 90
    'label'        => __('Amelia Customer', 'amelia'),
    #Line 103
    'label'        => __('Amelia Employee', 'amelia'),
    #Line 120
    'label'        => __('Amelia Manager', 'amelia'),

    and you need to remove Amelia from label like this:

    #Line 90
    'label'        => __('Customer', 'amelia'),
    #Line 103
    'label'        => __('Employee', 'amelia'),
    #Line 120
    'label'        => __('Manager', 'amelia'),

    After those changes you need to deactivate/activate plugin so changes will be applied.

    Please note that this will be overwritten in next update so you need to do it again.

    Best regards.

    Kind Regards, 

    Isidora Markovic

    wpDataTables: FAQFacebookTwitterFront-end and back-end demoDocs

    Amelia: FAQFacebookTwitter |  Amelia demo sites | Docs

    You can try our wpDataTables add-ons before purchase on these sandbox sites:

    Powerful FiltersGravity Forms Integration for wpDataTablesFormidable Forms Integration for wpDataTables