cancel
Showing results for 
Search instead for 
Did you mean: 

Translate parts of shop and theme

SOLVED

Re: Translate parts of shop and theme


@Rakesh Jesadiya wrote:

You need to create i18n folder under,

app/design/frontend/Alothemes/i18n/nl_NL.csv 

Now run below command from magento root instance,

php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

Ok, it created all these en_US translation files: what should I do with them now?
See screenshot: http://prntscr.com/jz64yv

The nl_NL.csv in the /html/app/design/frontend/Alothemes/i18n is still empty.
I'm still not sure how to fill this. Sorry for my lack of understanding.

Re: Translate parts of shop and theme


@Rakesh Jesadiya wrote:
I hole u have made nl_NL.csv file under the theme,

Run below command,
php bin/magento setup:upgrade -f nl_NL

I'm getting the following error:

[Symfony\Component\Console\Exception\RuntimeException]
The "-f" option does not exist.

Re: Translate parts of shop and theme

I hope u have made nl_NL.csv file under the theme,

Run below command,
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f nl_NL en_US
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Translate parts of shop and theme


@Rakesh Jesadiya wrote:
I hope u have made nl_NL.csv file under the theme,

Run below command,
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f nl_NL en_US

Thanks so far. That did indeed load a lot of nl_NL files:
http://prntscr.com/jz71jt

The nl_NL.csv file is still empty in /html/app/design/frontend/Alothemes/i18n is that correct?

Should I now also remove the language module from the setup wizard?




Re: Translate parts of shop and theme

Keep csv inside
app/design/frontend/Alothemes/pad/i18n/nl_NL.csv
CSV file is empty you need to add content which you want to translate.

You need to edit csv file with forst column is original word where second colun is your dutch translation Word.
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Translate parts of shop and theme


@Rakesh Jesadiya wrote:
Keep csv inside
app/design/frontend/Alothemes/pad/i18n/nl_NL.csv
CSV file is empty you need to add content which you want to translate.

You need to edit csv file with forst column is original word where second colun is your dutch translation Word.

Thanks again

So keep it inside the app/design/frontend/Alothemes/pad/i18n/nl_NL.csv . So I need to ad the pad folder? Or do you mean one of the different theme style folders?

Re: Translate parts of shop and theme

Yes, You need to include your theme name, if your theme assigned into pad folder then you have to keep pad folder.

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Translate parts of shop and theme


@Rakesh Jesadiya wrote:

Yes, You need to include your theme name, if your theme assigned into pad folder then you have to keep pad folder.


Thank you very much for taking your time to explain me. It works! Got it all translated.

Have a great day!