Where can I change the text "email" to "email to friend"
To translate new text you can add text and its translation in module language csv file like this :
'Email','Email To Friend'
File Path
app/design/frontend/[vendor]/[theme]/i18n/en_US.csv
Then run CLI command
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
php bin/magento cache:clean
php bin/magento cache:flush
-
Is there any translate interface available in Magento Admin to translate each "text" to "another langauge text"? e.g. Drupal Translate Interface (Built-in) – AshwinP Jul 26 '18 at 6:35
-
1
-
-
1
You can find the Email under below file:
vendor/magento/module-catalog/view/frontend/templates/product/view/mailto.phtml
Copy the mailto.phtml to below location:
app/design/frontend/[vendor]/[theme]/Magento_Catalog/templates/product/view/mailto.phtml
And then change the text from "Email" to "Email to Friend".