Ability to add Translation for CMS page and CMS block. Added translation as a custom variable. #164#506
Ability to add Translation for CMS page and CMS block. Added translation as a custom variable. #164#506miguelbalparda wants to merge 4 commits intomagento:masterfrom miguelbalparda:master
Conversation
There was a problem hiding this comment.
Removed double call to $this->_objectManager->create('Magento\Core\Model\Variable') and changed name of var to variablesModel instead of variables.
|
Hello @miguelbalparda, thank you for submit this suggestion! |
|
Thank you @tanya-soroka! I will add 2 more comments tomorrow to clarify my code so its easy to re use. |
There was a problem hiding this comment.
$optionArray[] may be be used as $optionArray
|
Hello @miguelbalparda. Thank your submission. Thank you for your |
|
Hi @miguelbalparda, thank you for you contribution. Can you please review the PR and resubmit it with latest code into develop branch. Thanks you. |
- Merge Pull Request magento/graphql-ce#506 from XxXgeoXxX/graphql-ce:2.3-develop#498 - Merged commits: 1. ef3cc36
Translate CMS Pages in Magento.
Use: In any CMS Page or Block use {{translate text="Text here"}} and the text will be translatable with the Inline translator.
Also available as custom variable:
