Results 1 to 2 of 2

Thread: Multi-language app

  1. #1
    Sencha User
    Join Date
    Mar 2010
    Posts
    2

    Default Multi-language app

    We use Extjs for our webui and I would like to generate as much "concatenated app.js" as I have languages (EN, FR, etc) to manage.

    At first, I wrote a (nodejs) program that takes all my app source code hierarchy and, depending on a given language, generates a new app source code hierarchy with all translations injected in. It works perfectly.

    For instance, if my source code hierarchy is webui/app, this program will generate webui/build/temp/production/app-fr, webui/build/temp/production/app-en, etc.

    Now, I need to package all those translated hierarchies through the "sencha app build" pipeline, just like the ant/build/app/js-impl.xml do with the default webui/app in order to build webui/build/production/Webui/app-fr.js, webui/build/production/Webui/app-en.js, etc.

    I'm afraid it's impossible to do by just using the js-impl.xml file from the outside (typically from app/webui/build.xml), and I think I'll have to rewrite my "own" js-impl.xml to take in account all my target languages, but I'm afraid to put me in a situation where I'll have to manage compatibility issues with the future versions of sencha cmd.

    Has anyone any idea to do this with the least impact on the sencha cmd infrastructure?

    To be clear, if it seems perfectly OK to develop my own multi-languages concat strategy with ant and not using js-impl.xml, I could go with that, but I need to be reassured by some sencha gurus ^^

  2. #2
    Sencha - Forum Administrator
    Join Date
    Sep 2017
    Posts
    1,006

    Default

    HI there- I have passed this info on to some team members that can help. They should be getting back with you very soon. I appreciate your patience!

Similar Threads

  1. Multi language application.
    By MANOJPARIDA in forum Ext: Q&A
    Replies: 1
    Last Post: 7 Jul 2016, 2:23 PM
  2. multi-Language support
    By burslem2001 in forum Community Discussion
    Replies: 1
    Last Post: 8 Oct 2011, 11:58 AM
  3. multi language support
    By raemanuel in forum Ext Designer: Help & Discussion
    Replies: 0
    Last Post: 5 Apr 2011, 1:21 PM
  4. multi language Wiki for ExtJS
    By Stephan123 in forum Community Discussion
    Replies: 0
    Last Post: 31 Aug 2009, 1:14 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •