adampmoss / CreareSEO

A free SEO extension for Magento 1
GNU General Public License v2.0
151 stars 72 forks source link

Translate #140

Closed alleyztak closed 6 years ago

alleyztak commented 6 years ago

Hey, I have the CreareSEO magento module installed on my website and I can't find where to translate the "Unfortunately the product [product_name] has been discontinued" message from front-end. Anyone?

hejhog commented 6 years ago

Try app/code/community/Creare/CreareSeoCore/Model/Observer.php

sprankhub commented 6 years ago

The text is "[product_name] has been discontinued" You have to translate the string "%s has been discontinued" e.g. in your theme's locale file. For instance, under app/design/frontend/[package]/[theme]/locale/de_DE/translate.csv:

"%s has been discontinued","%s wurde eingestellt"
alleyztak commented 6 years ago

Works fine. Thank you @hejhog