Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default language filesets using language tags and region sub-tags, eg: es-ES

    I maintain the current spanish language pack and make it identical to the english one.

    However I am in spain, and use castillian spanish (along with kg and 31/12/2014 as date format) so would prefer to develop this as such...I have been trying out es-ES as the file and directory names and have found no problems yet.

    Maybe spanish is the most prominent example of the large differences between communities (spain, mexico, south america) but portuguese (portugal/brazil) has also many differences.

    I would have thought that all language packs should be developed using this nomenclature, in line with other multilanguage projects and to ease the path to Zen Cart world domination?

    Comments, potential problems?
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,401
    Plugin Contributions
    87

    Default Re: language filesets using language tags and region sub-tags, eg: es-ES

    Quote Originally Posted by torvista View Post
    ... Maybe spanish is the most prominent example of the large differences between communities (spain, mexico, south america) but portuguese (portugal/brazil) has also many differences. ...
    That "large" difference also applies to English: British vs. American. It's an interesting notion that you've put out that could provide an easy method to identify the regional language differences (and associated packs). Additional benefits are that
    • a store owner, when installing a language pack, would "know" what they're getting into, i.e. whether this Spanish language pack will work for them directly or whether they'll need to do some fiddling.
    • a store would be able to easily "host" multiple regions for a given language, e.g. both Castilian and Mexican Spanish and/or both British and American English.

  3. #3
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,571
    Plugin Contributions
    30

    Default Re: language filesets using language tags and region sub-tags, eg: es-ES

    a store would be able to easily "host" multiple regions for a given language, e.g. both Castilian and Mexican Spanish and/or both British and American English
    Not so sure about that at the moment as the code admitted by the admin page is currently only two chars, i.e. "es" or "en". i.e. the email templates are under the "es" directory.
    So, some changes would be required to allow the use of parallel language sub-regions.

    IMHO the language pack issue is neglected, fragmented and only exists down to individual efforts.
    Almost every mod (I refuse to use the misleading term "plugin") I have implemented has required work to make it multiple-language compliant.

    I think Zen Cart needs to offer/implement a modern translation framework in-house as per other open source projects to get its due respect as a front-runner in its field.

    Although it may seem like something to only have available for 2.0 alpha...there's still a long time to go for 1.x.
    Steve
    github.com/torvista: Spanish Language Pack, Google reCaptcha, Structured Data, Multiple Copy-Move-Delete, Image Checker, BackupMySQL Admin/Auto...

 

 

Similar Threads

  1. Need to remove <table> tags [contentMainWrapper etc] and replace with <div> tags
    By Paul Randall in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 30 Oct 2015, 12:29 PM
  2. Replies: 2
    Last Post: 11 Feb 2013, 09:02 PM
  3. SEO and H1..tags - Img Alt tags
    By bginn in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 3 Jun 2010, 09:35 PM
  4. Meta tags difference - Custom tags and....
    By Muzz in forum General Questions
    Replies: 2
    Last Post: 28 Aug 2009, 06:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR