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 '17 at 13:31
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, privacy policy and cookie policy

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