Localization feature in v4 Ultimate

Does CS-Cart Ultimate v4 support Localization feature?

If not, will it be available in near feature?

Kemeris,



Yes, it does, but you need to enable it in the config.local.php file located in the root directory of your CS-Cart installation by replacing this line of the code:
'disable_localizations' => true,


with this one:
'disable_localizations' => false,




After that you should be able to set up localizations on the Administration > Shipping & Taxes > Localizations page of your CS-Cart admin panel.

Guest_bharathi_*,



Unfortunately, CS-Cart does not have the Thai translation but CS-Cart has an ability to add new languages, it is completely multilingual software and all its texts both in a storefront and admin panel can be easily translated into any language.



For more information on how to translate CS-Cart please refer to the following page of our Knowledge Base:



[url=“CS-Cart Documentation — CS-Cart 4.15.x documentation”]CS-Cart Documentation — CS-Cart 4.15.x documentation

Hi we are running V4.1



we turned on localization as the instructions stated above, and then all helll broke lose. The main navigation turned off all the banners auto set themselves to appear on the Austrialian localization. We are just testing this feature and wanted to see if the banner would work in Australia before implementing across the board.



So do we have to set up our own location as a localization first ? ie UK



How do we make sure the navigation appears on all locations ? and not just certain ones ?



Thanks in advance

[quote name='Lazy' timestamp='1401803102' post='184953']

Hi we are running V4.1



we turned on localization as the instructions stated above, and then all helll broke lose. The main navigation turned off all the banners auto set themselves to appear on the Austrialian localization. We are just testing this feature and wanted to see if the banner would work in Australia before implementing across the board.



So do we have to set up our own location as a localization first ? ie UK



How do we make sure the navigation appears on all locations ? and not just certain ones ?



Thanks in advance

[/quote]



If you enable localizations, it is required to define localizations to all objects separately (products, categories, pages, etc). There is no ability to enable all localizations for all objects at one time.

[size=5]NOTE: After creating a localization, it is required to select it in the Localization option on the details pages of the desired products, categories, shippings (destinations), payments, pages, ads and news in your administration panel to display them for customers from the address selected for the localization. [/size]



Just seen that note.



How was this ever thought to be a good idea ?



So we have to go through







16,340 Active Products







6,907 Categories







103 Web pages





and tick a box and click save ?



As soon as you create the first localization everything breaks until the localizations have been applied to every single object on site. With the numbers above this could take us weeks, if not months to implement.



How was this ever considered to be a good idea, when all I want to do is show one banner to people from Australia displaying some of the reviews we have had from people from Australia. Does anyone know of a none cs cart way to do this.



CS Cart this was a very poorly thought out executed piece of work.



Is there away to short cut this via the database ?

It would appear that you could write something that would populate the 'localization_elements' table based on the 'localizations' table.

Not done this specifically but appears that it would be quite doable. But I'm somewhat surprised that creating a localization would not apply it to all objects by default and then let you go in and turn it off for the objects you do not want it to apply to (or at least an “apply to all” checkbox).



Have you submitted this a a bug in bugtracker and seen a response? Or opened a helpdesk ticket asking how it's done?



Localizations have been an area of ongoing change in each version.

[quote name='tbirnseth' timestamp='1401823966' post='184981']

It would appear that you could write something that would populate the 'localization_elements' table based on the 'localizations' table.

Not done this specifically but appears that it would be quite doable. But I'm somewhat surprised that creating a localization would not apply it to all objects by default and then let you go in and turn it off for the objects you do not want it to apply to (or at least an “apply to all” checkbox).



Have you submitted this a a bug in bugtracker and seen a response? Or opened a helpdesk ticket asking how it's done?



Localizations have been an area of ongoing change in each version.

[/quote]



tbirnseth your right default setting should be apply to all objects, or even better apply to all, ( Noticed the bulk edit on cats apply value to all has been removed, well done cs cart, it is still on products )



Considering we just wanted to add one banner and now have to work through the entire site just to see if all elements reappear, creates mountains of work.



Wondering if anyone at CS Cart actually trades on the web, other than selling ecommerce systems. Where you only have a handful of items.



The knowledge base states right at the end mind



NOTE: After creating a localization, it is required to select it in the Localization option on the details pages of the desired products, categories, shippings (destinations), payments, pages, ads and news in your administration panel to display them for customers from the address selected for the localization.”



Which to me reads as this is how CS Cart intended it to work.



There are a few issues with this thing, all the top menu proper messes up



1 Applied all the root cats to the first localization which is the UK



when visiting the sub cat all other root cats disappear.



2 All top menu links disappear



3 When creating a localization there are only a small handful of languages, so the choice for say Finland is country Finland, Currency Euro , Language the only choice is to apply English as there is no Finish.



Which makes me wonder is the site picking up the users language or is it only using the language variable if the user makes the selection from say a drop down on site? Any answer to this would be welcomed.



Localizations have been an area of ongoing change in each version. Yeah lets hope they overhaul this whole part of the site as is it is just a long winded painful , not sure if it will even work part of the cart.

[quote name='Lazy' timestamp='1401806113' post='184959']

[size=5]NOTE: After creating a localization, it is required to select it in the Localization option on the details pages of the desired products, categories, shippings (destinations), payments, pages, ads and news in your administration panel to display them for customers from the address selected for the localization. [/size]



Just seen that note.



How was this ever thought to be a good idea ?



So we have to go through







16,340 Active Products







6,907 Categories







103 Web pages





and tick a box and click save ?



As soon as you create the first localization everything breaks until the localizations have been applied to every single object on site. With the numbers above this could take us weeks, if not months to implement.



How was this ever considered to be a good idea, when all I want to do is show one banner to people from Australia displaying some of the reviews we have had from people from Australia. Does anyone know of a none cs cart way to do this.



CS Cart this was a very poorly thought out executed piece of work.



Is there away to short cut this via the database ?

[/quote]



You can run the following mysql queries from the phpmyadmin:



UPDATE `cscart_categories` SET localization = '1,2';
UPDATE `cscart_products` SET localization = '1,2';
UPDATE `cscart_pages` SET localization = '1,2';
UPDATE `cscart_static_data` SET localization = '1,2';
UPDATE `cscart_payments` SET localization = '1,2';
UPDATE `cscart_shippings` SET localization = '1,2';




Where “1,2” is the list of active localization IDs separated by comma. Localization IDs can be found on the “Manage localization” page or in the “cscart_localizations” table in the database.



Hope that helps.

eComLabs Much much Kudos your way thank you very much,



CS Cart please take note and turn that into a feature or overhaul the whole localization feature as is it is pretty piss poor.



eComLabs Thanks once again.

Does anyone know about how the languages work on localization ?



as most of the worlds languages are not available for selection we are going to have to set most localizations to be English.



Is CS Cart using the language the user selects on site or are they using the users keyboard language ?



Will the country not be enough to trigger localization content ?

[quote name='Lazy' timestamp='1401877243' post='185041']

Does anyone know about how the languages work on localization ?



as most of the worlds languages are not available for selection we are going to have to set most localizations to be English.



Is CS Cart using the language the user selects on site or are they using the users keyboard language ?



Will the country not be enough to trigger localization content ?

[/quote]


  1. It gets a list of available languages for the localization
  2. It checks if “sl” parameter exists in the URL
  3. If not, it checks if selected language is stored in session and it is in the list of available languages
  4. If not, it checks if browser language is in the list of available languages
  5. If not, it checks if the language defined as default in the backend is in the list of available languages
  6. If not, it sets first available language as active