I have this code in acl.xml:

 <resource id="Magento_Paypal::use" title="Place Order Using Billing Agreements" translate="title" sortOrder="15" />

and I already added this string in ar_SA.csv like that:

     "Place Order Using Billing Agreements","translation here"

but the translation doesn't appear yet. Did I miss something?

I've updated the translation file, flushed the cache but it didn't help.

Magento Admin

  • try to remove pub/static folder and run php bin/magento setup:static-content:deploy xx_XX Wher xx_XX your locale. Commented Feb 25, 2017 at 13:31

1 Answer 1


currently acl in magento does not support translate functionality. Refer acl.xsd. (I an not sure if you should use your custom xsd file or not)

Magento 2 default acl.xsd snippet

only these four attributes are available:

    <xs:attribute name="id" type="typeId" use="required" />
    <xs:attribute name="module" type="typeModule" use="optional" />
    <xs:attribute name="title" type="typeTitle" use="optional" />
    <xs:attribute name="sortOrder" type="xs:int" use="optional" />
  • So how I can translate magento roles resources image.ibb.co/iGXyGF/rol.jpg
    – Mazen Zan
    Commented Feb 25, 2017 at 17:44
  • Are you sure? The XSD is not necessarily complete. Core files use the "translate" attribute: github.com/magento/magento2/blob/develop/app/code/Magento/… Commented Feb 26, 2017 at 12:21
  • yes, They might implement in future, but currently I don't think its supported. Commented Feb 26, 2017 at 17:06
  • Hi, just seen the acl.xml in Magento2.1.3, looks like they have added the tranlate attibute for acl now. If you are working on older version, I suggest upgrade your magento version. Commented Feb 27, 2017 at 7:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.