Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • claudiobosticco
    replied
    Hello, thanks, I got it working, but I need to specify the bundle in the <fmt:message> tag (while in the datasources I only use <fmt:bundle basename="...). I'll try to understand If I could use the more compact notation I use in the datasources.

    Regarding the JS version, are there any limitations for Tours?
    I ask because with the <fmt> tag I lose the ability to load the Tours dynamically, whereas in JavaScript I could continue doing so.


    Leave a comment:


  • Isomorphic
    replied
    We set up a test based on the Showcase Tour sample, https://smartclient.com/smartclient/...id=productTour. We then modified the following line in the productTour.proc.xml file to add the <fmt:message> tag:
    Code:
    <instructions>Welcome to the SmartClient Showcase!  We'll show you how to use it.  <fmt:message key="instructions1"/></instructions>
    Then we created a productTour.properties file immediately under WEB-INF/classes and defined an "instructions1" property:
    Code:
    instructions1: Extra instructions in English
    This does work - the <fmt:message> tag is replaced in that Welcome message with "Extra instructions in English". So we think this is fundamentally working. If it is not working for you, please can you provide more information about the exact steps you have taken

    Leave a comment:


  • Isomorphic
    replied
    Hi Claudio
    Sorry for the long silence on this. We did some preliminary work here and thought we had things working but clearly that's not what you're finding.
    A proper in-depth investigation has been queued up for a while behind some other priorities. Our dev team anticipates getting into this over the next few work days so should have more information for you soon.

    Regards

    Isomorphic Software

    Leave a comment:


  • claudiobosticco
    replied
    Hello, aside from the issue with the <fmt> tags, could you please provide your thoughts on this question from post #11:

    Originally posted by claudiobosticco View Post
    Thanks for the suggestion, I actually hadn't thought of that, but it will definitely work. However, does this have any implications on the features, or is it fully equivalent?
    I’m considering switching to the JS version if there aren’t any drawbacks.

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: v13.1p_2024-12-19/Enterprise Deployment (built 2024-12-19)

    Hello, any news about this issue? I still see the <fmt> tag in the js-translated Tour, with the approach described in post #11

    Leave a comment:


  • claudiobosticco
    replied
    SmartClient Version: v13.1p_2024-12-01/Enterprise Deployment (built 2024-12-01)

    Hello, it doesn't seem to work for me, I still see the <fmt> tags in the js-translated Tour.


    Originally posted by Isomorphic View Post
    If you instead define them in JavaScript, then you use the usual client-side approaches.
    Thanks for the suggestion, I actually hadn't thought of that, but it will definitely work. However, does this have any implications on the features, or is it fully equivalent?
    Originally posted by claudiobosticco View Post
    Thanks for the suggestion, I actually hadn't thought of that, but it will definitely work. However, does this have any implications on the features, or is it fully equivalent?
    could you also please comment on this?

    Leave a comment:


  • Isomorphic
    replied
    Hi Claudio
    Sorry for the long pause on this.
    We've made a change to have the server pick up the appropriate messages from the resource bundle file and substitute them in for tour *.proc.xml files.
    Please try the next nightly build (Nov 27 or above) in the 13.1 / 14.0 branch to see this in action.

    Let us know if it doesn't work for you

    Regards
    Isomorphic Software

    Leave a comment:


  • Isomorphic
    replied
    Hi Claudio
    We see the problem, and our development team are working on it. We'll be following up when we have more information for you

    Regards
    Isomorphic Software

    Leave a comment:


  • claudiobosticco
    replied
    Hello, could you please comment on this?

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by Isomorphic View Post
    claudiobosticco sorry we missed that question. If the Tour is defined in XML, you should be able to use the same i18n mechanisms that apply to DataSource .ds.xml files and screens (.ui.xml files).
    Hello, I've actually tried like this:

    Code:
    <Tour ID="firstTour" showProgress="true" xmlns:fmt="WEB-INF/">
        <fmt:bundle basename="i18nMessages" encoding="utf-8"/>
        <steps>
            <TourStep ID="welcome">
                <title><fmt:message key="welcome"/></title>
    ....
    and then I've tried to load it like this (as I don't think it could work with Tour.loadTour()):

    Code:
    <script type="text/javascript" charset="UTF-8">
        <isomorphic:XML>
        <jsp:include page="/WEB-INF/ds/profileMenuTour.proc.xml"/>
        <jsp:include page="/WEB-INF/ds/aSampleDS.ds.xml"/>
        </isomorphic:XML>
    and, while I see the same key correctly used in the js version of the ds, in the js version of the Tour I see the <fmt> tag in the title. Am I missing something?

    Originally posted by Isomorphic View Post
    If you instead define them in JavaScript, then you use the usual client-side approaches.
    Thanks for the suggestion, I actually hadn't thought of that, but it will definitely work. However, does this have any implications on the features, or is it fully equivalent?

    Leave a comment:


  • Isomorphic
    replied
    claudiobosticco sorry we missed that question. If the Tour is defined in XML, you should be able to use the same i18n mechanisms that apply to DataSource .ds.xml files and screens (.ui.xml files).

    If you instead define them in JavaScript, then you use the usual client-side approaches.

    MQDeveloper - we have a prototype of a Tour-recording system. If you are interested in Feature Sponsorship to make it an officially supported feature, start here!

    Leave a comment:


  • claudiobosticco
    replied
    Originally posted by claudiobosticco View Post
    Actually in post #3 I meant also to ask if it's possible to internationalize what I write in the <instructions> tags and in the title attributes in my tour.proc.xml file, as I tried an approach similar to that used for dataSources but it didn't work
    Hello, just bumping this up to know if I should actually make a version of my tutorial for each locale or if I'm missing some other option.

    Leave a comment:


  • MQDeveloper
    replied
    Can you tell me where I can find the feature to record tours?

    Leave a comment:


  • Isomorphic
    replied
    Hey Claudio, just wanted to say - thanks for that feedback! That really makes the team feel good, and it's part of what motivates us to produce great stuff.

    Just wait til you see the next level of what we have in store! We think you'll love it!

    Leave a comment:


  • claudiobosticco
    replied
    I also noted a new feature to record Tours/Tutorials...The years pass by but your work continues to amaze me :)

    Leave a comment:

Working...
X