cancel
Showing results for 
Search instead for 
Did you mean: 

Translate "Welcome message"

Translate "Welcome message"

Hey, can somebody help me.. I just bought a TemplateMonster theme.. But's it's so complicated.. i Can't translate this..

 

But, when i'm logged in it's ok..

I think it's something from theme.. BUT It's Templatemonster and they don't want to help me..

So, please, if somebody can help me..?

6 REPLIES 6

Re: Translate "Welcome message"

Hello @tibor_nagy2,

 

You can add the translations to your theme.

Follow the steps given below.

 

Run the following command

 

 php magento2/bin/magento i18n:collect-phrases --output="magento2/app/design/frontend/vendor/theme/i18n/de_DE.csv" magento2/app/design/frontend/vendor/theme

 

 

Note: Replace de_DE with your language code.

 

This command will generate a file in your theme at the following location

 

 

app/design/frontend/vendor/theme/i18n/de_DE.csv

 

 

You can add your translation to this file now.

 

For example, if you want to translate "Welcome to our online store!" to "Bine ați venit la magazinul nostru online!",

 

add the following line in this file

 

"Welcome to our online store!","Bine ați venit la magazinul nostru online!",theme,frontend/vendor/theme

 

Note: Replace "vendor" and "theme" with your theme namespace and theme name.

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Translate "Welcome message"

Thank you mate.. But, My MAGENTO Usign CPANEL..

I don't have acces for the server, JUST FTP.

And the template time it's looks like...

files

Re: Translate "Welcome message"

@tibor_nagy2

 

Ok, then skip the command line step.

Create the file and add your translated content as shown in my answer above.

Check and let me know if it works or not.

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Translate "Welcome message"

Nope mate.. 

So i Crated

public_html/app/design/frontend/TemplateMonster/theme079/i18n/ro_RO.csv

and i tryed to add here this

"Welcome to our online store!","Bine ați venit la magazinul nostru online!,theme,frontend/TemplateMonster/theme079

And This..

"Welcome to our online store!","Bine ați venit la magazinul nostru online!,theme/frontend/TemplateMonster/theme079

Still Not Working..

Re: Translate "Welcome message"

i Used the correct type..

"Welcome to our online store!","Bine ați venit la magazinul nostru online!",theme/frontend/TemplateMonster/theme079

 

Still not working..

Re: Translate "Welcome message"

@tibor_nagy2

 

Have you run the deploy command??

 

php -dmemory_limit=2G bin/magento setup:static-content:deploy ro_RO -f
If you find my answer useful, Please click Kudos & Accept as Solution.