1. #1
    Sencha User
    Join Date
    Aug 2009
    Posts
    22
    Vote Rating
    0
    shanmugam is on a distinguished road

      0  

    Default Lanuage reference through excel

    Lanuage reference through excel


    I am going through a code of PIMCORE Project.
    The excel file acts as language resource.
    Language resource excel file is loaded through php, the same excel values are accessed through extjs.
    Can anyone tell how is it achieved.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    So Ext JS loads the values form the PHP file?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Aug 2009
    Posts
    22
    Vote Rating
    0
    shanmugam is on a distinguished road

      0  

    Default Language resource excel file

    Language resource excel file


    Dear mitchelsimoens


    Let me take some example of two parameters from the excel

    1. system_infos System Infos
    2. edit_link Edit Link

    These two are stored in excel file as two columns.

    These are accessed from ext js as "t(system_infos)", I wanted to know how is it achieved.

  4. #4
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    898
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    You should have a server parse the excel file and return JSON or XML
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  5. #5
    Sencha User
    Join Date
    Aug 2009
    Posts
    22
    Vote Rating
    0
    shanmugam is on a distinguished road

      0  

    Default Language resource excel file

    Language resource excel file


    Dear Mitchell Simoens

    Thanks for your quick reply.

    Can you please send me a sample code (or any reference) to achieve this.

    Thanks & Regards,
    Shanmugam

  6. #6
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,329
    Vote Rating
    212
    ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold ssamayoa is a splendid one to behold

      0  

    Default


    Quote Originally Posted by shanmugam View Post
    Can you please send me a sample code (or any reference) to achieve this.
    Google "php+excel".
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  7. #7
    Sencha Premium Member danguba's Avatar
    Join Date
    Feb 2009
    Location
    Kragujevac, Serbia
    Posts
    383
    Vote Rating
    69
    danguba is a jewel in the rough danguba is a jewel in the rough danguba is a jewel in the rough

      0  

    Default


    Quote Originally Posted by ssamayoa View Post
    Quote Originally Posted by shanmugam View Post
    Can you please send me a sample code (or any reference) to achieve this.
    Google "php+excel".
    http://lmgtfy.com/?q=php%2Bexcel

    All Best
    ---
    Željko Mitrović
    http://skitanja.blogspot.com/

    "Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live." Martin Golding