[solved] Change Language for ShopMadeSimple

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jonnytm
Forum Members
Forum Members
Posts: 14
Joined: Mon Jan 04, 2010 9:50 pm

[solved] Change Language for ShopMadeSimple

Post by jonnytm »

Hi all

Although being very happy about Shop Made Simple (in combination with Cart Made Simple), I am confused to not find the option of changing the language. Words like "categories" or "add to cart" should be possible to be translated. I do find the words "default language" but there is no dropdown or similar below (s. screenshot).

How can I change the language of the shop?

Thanks!

JTM
Attachments
Bild 2.png
Last edited by jonnytm on Tue Jan 05, 2010 10:42 am, edited 1 time in total.
Duketown

Re: Change Language for ShopMadeSimple

Post by Duketown »

johnnytm,

I'm glad that you are happy about the modules!
The original idea of "default language" for the module was to have translations per product. As a result of that the module could be used in a multilinguale environment. It has not yet come that far (no requests entered and nothing heared of it). I should remove that non working preference.
I have checked the ShopMadeSimple translation table and "categories" is not in it. As a result your german translation table (at least that is the language that I see you are using), doesn't contain it. You might try and add it manually in de_DE.php. Remember that during an upgrade it will be lost again. Can you point out where you find the word "categories", so I can change it for next release?

"Add to cart" is obviously out of the CartMadeSimple module. I will try to locate it and prepare it in the translation table. So it will be in on the next release.

Duketown
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Change Language for ShopMadeSimple

Post by RonnyK »

When you want custom-labels (from the lang-file) and dont want to loose them in an upgrade, then you could use the custom_module logic...

When your lang-file is de_DE.php, then you could have a specific de_DE.php with ONLY the changed labels, located in:

module_custom\ShopMadeSimple\lang

and that file will be taken. In an upgrade, the \module\ShopMadeSimple\ will be overwritten AND NOT the module_custom logic. I would test with a single label If I were you, to test is ShopMadeSimple works like this as well....

Ronny
Duketown

Re: Change Language for ShopMadeSimple

Post by Duketown »

RonnyK,

Thanks for the additional info. That is a far better solution.
In the recent past I tried that, but didn't work. Do you have it up and running (in other words, I have to check what I have done wrong)?

@jonnytm: I made an error stating "add to cart" is part of CartMadeSimple. It is in ShopMadeSimple and it is in the translation table en_US.php available. So either you are using an old version or the translators have some work to do.

Duketown
vilkis

Re: Change Language for ShopMadeSimple

Post by vilkis »

Hi,
the module_custom method works, but sometimes people do a mistake and place lang file in module_custom\MODULENAME\lang\ext - It should be placed in module_custom\MODULENAME\lang :)

vilkis
RonnyK
Support Guru
Support Guru
Posts: 4962
Joined: Wed Oct 25, 2006 8:29 pm
Location: Raalte, the Netherlands

Re: Change Language for ShopMadeSimple

Post by RonnyK »

Duketown,

I have it running currently at my dev-box with Availability... I can show you that settings...

Ronny
jonnytm
Forum Members
Forum Members
Posts: 14
Joined: Mon Jan 04, 2010 9:50 pm

Re: [solved] Change Language for ShopMadeSimple

Post by jonnytm »

Works great, thanks!
Post Reply

Return to “Modules/Add-Ons”