Search:

Type: Posts; User: intellix

Search: Search took 0.01 seconds.

  1. Replies
    66
    Views
    37,316

    For using with Arcitect you just add a custom...

    For using with Arcitect you just add a custom parameter on everything like a button:

    locales: {
    text: "Register"
    }

    You won't see your text within Architect, apparently they're sorting...
  2. Replies
    66
    Views
    37,316

    Need to use locale changing within an itemTpl......

    Need to use locale changing within an itemTpl... anyone come up with anything yet for this that they're cool to share?

    For instance:



    // In other HTML text I did something like {{Text to...
  3. Replies
    66
    Views
    37,316

    I can answer that I guess. I'm using Architect...

    I can answer that I guess.
    I'm using Architect so it is possible. You just don't see the text inside your app.

    Inside the root folder of your app.html '/' add the files like: Ux/locale/Manager.js...
  4. Replies
    66
    Views
    37,316

    Had to translate selectfields. As you can't set a...

    Had to translate selectfields. As you can't set a locales: {} with everything in there (doesn't really make sense). I removed all the placeholder stuff as I'm not really using it (strings default to...
  5. Replies
    66
    Views
    37,316

    So that my translation files are smaller and alot...

    So that my translation files are smaller and alot of my application pulls in translated data/information from the server my API calls are something like:

    /en/get-events
    /de/get-events

    To do...
  6. Replies
    66
    Views
    37,316

    Just looking at translating the Title within...

    Just looking at translating the Title within NavigationView/Bar and it's peppered all over the code.
    Looks like it's going to require quite a bit of know-how to edit this one and I bet it changes...
  7. Replies
    66
    Views
    37,316

    I spent a couple of days trying to get the...

    I spent a couple of days trying to get the DataView/Item done but just couldn't get it sorted properly.

    In the end I just did this inside DataView override:



    setLocale : function(locale) {
    ...
  8. Replies
    66
    Views
    37,316

    Cool, thanks for the pointer. I can change the...

    Cool, thanks for the pointer.
    I can change the content within prepareData but updateListItem doesn't seem to run for my DataView/DataItem stuff.
    I did try this with my DataView, but it didn't quite...
  9. Replies
    66
    Views
    37,316

    Anyone got any idea how this can be done for...

    Anyone got any idea how this can be done for DataView/DataItem template stuff?

    I'm trying to implement locality to the validation strings. First I tried to override the validation stuff (which you...
  10. Replies
    66
    Views
    37,316

    Sorry to spam but, I've got partial replacing...

    Sorry to spam but, I've got partial replacing done for html.


    // Inside Ux/locale/override/st/Component.js - replace setLocale() function with this:
    setLocale : function(locale) {
    var...
  11. Replies
    66
    Views
    37,316

    At the moment I can see that for HTML it only...

    At the moment I can see that for HTML it only allows to translate the entire thing (whereas I need to translate parts like: Cool products - <b>Buy some now</b>

    So I guess I will add some sort of...
  12. Replies
    66
    Views
    37,316

    Ok so this has something to do with the order...

    Ok so this has something to do with the order that things are loaded. I guess the overrided classes need to load before the actual classes otherwise it doesn't work.

    I guess the first...
  13. Replies
    66
    Views
    37,316

    It doesn't work with code generated with...

    It doesn't work with code generated with Architect, for instance go to the MVC example provided and replace:



    <script id="microloader" type="text/javascript"...
  14. Replies
    66
    Views
    37,316

    This is also the same issue I was getting...

    This is also the same issue I was getting earlier. Spent a couple of hours trying to see what the difference between my code and yours was (mine is output from Architect so I can't really change it...
Results 1 to 14 of 14