tomatocart / TomatoCart-v1

TomatoCart v1.x respository
http://www.tomatocart.com
Other
22 stars 30 forks source link

Enhancement [Contact information]: There shall be different contacts versions for multi-language sites #152

Open dart-com-ua opened 10 years ago

dart-com-ua commented 10 years ago

We support two languages in our store. But contacts info can't be set for different languages.

It will be great to re-build Contacts and made it as a module which will support multi-language

tocjack commented 10 years ago

Hi dart,

Do you mean the contact us page?

dart-com-ua commented 10 years ago

Yes, I mean "Contact Us" page. There's also can be implemented the ability to add article to top main menu as separate page

tocjack commented 10 years ago

Ok. Put it into v1.1.8.6

tocjack commented 10 years ago

Dart,

I have tested the contact us page with english and chinese. It works. I think about it again. If you need an enhanced contact us module, it would be better to implement it as a module later.

So, i will not added it into v1.1.8.6. It should be implemented as an extension based on the detailed requirement.

dart-com-ua commented 10 years ago

Jack, I hope you understand me correctly. NOW TC have only ONE "contact us" page. It's the part of shop configuration "Contact Information". And this isn't correct for multilanguage stores.

If my shop support 5 languages I need to place on the same page 5 different shop info parts for different users. This page will be long and user shall search his appropriate part on the page.

If you write contact information about shop in Chinese, no matter which language you will use. You will always will see contact information in Chinese.

"Contact information" shall be removed from shop configuration and moved as Information article where store owner can write different language versions. There's no need to add new module.

http://endless-desperation.ru/contact.html here's the link, try to switch from English to Russian. Contact information will stay in English.

I hope you understand what I talking about or I need to add images?

claude-ws01 commented 10 years ago

Jack.

admin menu configuration / configuration / my store / Store address and phone

has only one possibility of configuration. It's not multi-lingual.

TC is not fully multilingual. That's a fact.

to solve that specific limitation, I added a function in class article to get an article by it's name. (because the article_id is not visible in admin, and might change, so I use the name as key) then another function to insert the content of an article, anywhere I need. then I added articles with the content in multi language (address, tax note....)

that's it folks

c.

dart-com-ua commented 10 years ago

It's the same what I mean. I propose to add Contact information as an Information article and use multilingual article version. There's no need to add additional module, just to fix contacts module

claude-ws01 commented 10 years ago

Of course it's the same!!!! :) From my understanding, the is not meant to be multilingual. And, perhaps, the , which is not a module, but just an entry in table_configuration, COULD be put else where. Table_articles is one option that is multilingual.

Hope that clarifies. c.

dart-com-ua commented 10 years ago

No, interface, articles, products, categories, messages. All is multilingual except of few moments. Yes, they're not major issues, but it will be better to re-done them in proper way.

claude-ws01 commented 10 years ago

Have you ever tried to send an invoice or order to a russian, while you are in admin in english? And? In what language is the invoice? in english or in russian?

You do not even know which language speaks the customer. There are no language_id on customer.

Just like you said, stop the gadgets and focus on completeness and stability.

dart-com-ua commented 10 years ago

Yes, it may be an issue, but we use Russian admin panel version and all our customers understand both languages. But I agree that it shall be fixed

claude-ws01 commented 10 years ago

Well I have both french and english speaking customers. And out of respect to them, I modified my TC so it communicates in the customers language.