3

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

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

1 Answer 1

3

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" />
4

Your Answer

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

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