Hi
I am confused how can i export the new language created in cscart admin to the sql file that can be used on other installation
I have translated the cscart into Polish and I would like to export it and use it with new installation of cscart
I tried to create export file from phpmyadmin but the result is as follow:
REPLACE INTO cscart_language_values
(lang_code
, name
, value
) VALUES
(‘PL’, ‘3dsecure’, ‘3Dsecure’),
(‘PL’, ‘3d_secure’, ‘3-D Secure’),
(‘PL’, ‘about_company’, ‘O firmie’),
(‘PL’, ‘about_our_company’, ‘O naszej firmie’),
(‘PL’, ‘about_us’, ‘O nas’),
(‘PL’, ‘absolute’, ‘Stała ilość (zł) (points)’),
(‘PL’, ‘accept’, ‘Akceptuj’),
The Correct language file looks like (example from German version) :
REPLACE INTO cscart_languages (lang_code
, name
, status
) VALUES (‘DE’, ‘German’, ‘A’);
REPLACE INTO cscart_common_descriptions (object_id
, object_type
, description
, lang_code
, object
, object_holder
) VALUES (‘2’, ‘’, ‘’, ‘DE’, ‘Meine Daten’, ‘sitemap_sections’);
REPLACE INTO cscart_common_descriptions (object_id
, object_type
, description
, lang_code
, object
, object_holder
) VALUES (‘1’, ‘’, ‘Warenkorb anschauen’, ‘DE’, ‘Warenkorb’, ‘sitemap_links’);
REPLACE INTO cscart_common_descriptions (object_id
, object_type
, description
, lang_code
, object
, object_holder
) VALUES (‘2’, ‘’, ‘Wunschliste’, ‘DE’, ‘Wunschliste’, ‘sitemap_links’);
REPLACE INTO cscart_common_descriptions (object_id
, object_type
, description
, lang_code
, object
, object_holder
) VALUES (‘3’, ‘’, ‘Kasse’, ‘DE’, ‘Kasse’, ‘sitemap_links’);
REPLACE INTO cscart_common_descriptions (object_id
, object_type
, description
, lang_code
, object
, object_holder
) VALUES (‘4’, ‘’, ‘Profil bearbeiten’, ‘DE’, ‘Profil bearbeiten’, ‘sitemap_links’);
REPLACE INTO cscart_privilege_descriptions (privilege
, description
, lang_code
, section_id
) VALUES (‘edit_order’, ‘Bestellung bearbeiten’, ‘DE’, ‘8’);
REPLACE INTO cscart_privilege_descriptions (privilege
, description
, lang_code
, section_id
) VALUES (‘create_order’, ‘Bestellung erstellen’, ‘DE’, ‘8’);
REPLACE INTO cscart_privilege_descriptions (privilege
, description
, lang_code
, section_id
) VALUES (‘view_orders’, ‘Bestellungen anschauen’, ‘DE’, ‘8’);
REPLACE INTO cscart_privilege_descriptions (privilege
, description
, lang_code
, section_id
) VALUES (‘change_order_status’, ‘Status der Bestellung andern’, ‘DE’, ‘8’);
What is the best way to export new language from cs-cart ?
I tried to do that in many ways but i have only break my cs-cart installation. Please help me !
Jakub
Here is how to do it :
[url]http://forum.cs-cart.com/showthread.php?t=11278&highlight=language+export[/url]