AbanteCart Development > Languages and Zones
Getting translation to French?
gob33:
Yea but it is in the case of merchant installing french language, i dont see it reworking all french zones to have correct ones. It will take a too long time and french zones list will be ID-different for each merchant.
abantecart:
--- Quote from: gob33 on May 19, 2014, 11:24:54 AM ---I have a major problem with French zones.
As usual, it is the same list as osCommerce in the old days and it is false and incomplete, unusable for any french shop.
How can that list be updated as ID are sequential (+1) and french zones cannot insert without shifting all the rest down (and zone name table too) ?
A better way would be to have zone_id as a composite primary key (country_id x 1000 + increment_offset, eg: 72001) with a pre-insert trigger + lock doing necessary incrementation.
So that each country could manage its 1000 possible zones independently from others in a sequential range 0-999.
--- End quote ---
Thank you for comment.
Frankly, I am confused with the benefit of this. Do you struggle with SQL select?
Would it be better if we correct zones in the core if you provide corrections?
I am open for discussion,
gob33:
For the list itself, see [url-http://en.wikipedia.org/wiki/ISO_3166-2:FR]ISO 3166-2:FR[/url].
Im just thinking about a system (composite primary key) to have all zones sequentialy grouped per country, and not chunks added at end of table in disorder.
Need some testing with composite keys.
gob33:
When building a language extension, should i do also translate the 250 countries and 4000 zones names ?
And when installing a new language, why the new descriptions of categories, products, options, status, .... stay empty, the english desc is not copied inside ?
Does the merchant have to edit/add all that manually each time he installs a new language ?
Basara:
--- Quote from: gob33 on May 26, 2014, 11:07:37 AM ---When building a language extension, should i do also translate the 250 countries and 4000 zones names ?
--- End quote ---
Hello. Basically Yes, you need to translate if all needed. Countries and Zones are more related to content like products, categories etc.. so if you have 100 products in english you need to translate them to your language - same with Countries and Zones
--- Quote from: gob33 on May 26, 2014, 11:07:37 AM ---And when installing a new language, why the new descriptions of categories, products, options, status, .... stay empty, the english desc is not copied inside ?
--- End quote ---
To copy all descriptions from English please use Load missing (not translated) language data AbanteCart feature. Go to Admin-System-Localization-Languages and click to edit your language select Source Language to copy from and click Load button.
please note: instead of copy there is 'google translate' text translation method. to use it install paid extension Google Translate API 2 available on AbanteCart Extension Store. With use of google translate API 2 service (not free) you can automatically translate all your text in the shopping cart to any language that you have installed.
Also read short manual about AbanteCart autotranslate language settings
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version