Announcement

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

    Tour step titles

    Hello, I'm trying the Tour module and I've noticed that the step titles aren't internationalized.

    #2
    Also, I'm getting this WARN:

    Code:
    2024-05-14T16:40:47,445 WARN Validation Validation errors validating a 'Tour':
    {
        "/Tour[@ID=profileMenuTour]/steps/3/TourStep":{
            recordPath:"/Tour[@ID=profileMenuTour]/steps/3/TourStep",
            actionType:{
                severity:"ERROR",
                errorMessage:"Must be in set [click, doubleClick, mouseOver, drag, change, none, any] but is menuItemOpen."
            }
        }
    }
    but the actionType seems to work

    Comment


      #3
      Another question about the Tour/Process: is it possible to internationalize it? I mean with an approach similar to that used for DataSources expressed in XML.

      Comment


        #4
        hi Claudio,

        We've added around 40 new framework i18n attributes for all hard-coded strings in the Tour subsystem, and you'll find them already in the language packs with AI translations as of tomorrow's builds, dated May 29 and later.

        Another 60 or so i18n attributes unrelated to Tours were picked up and translated at the same time, including the max grouping messages you mentioned in another thread.

        We're taking a look at the warning you see and will update here shortly.

        Comment


          #5
          Originally posted by Isomorphic View Post
          hi Claudio,

          We've added around 40 new framework i18n attributes for all hard-coded strings in the Tour subsystem, and you'll find them already in the language packs with AI translations as of tomorrow's builds, dated May 29 and later.

          Another 60 or so i18n attributes unrelated to Tours were picked up and translated at the same time, including the max grouping messages you mentioned in another thread.

          We're taking a look at the warning you see and will update here shortly.
          Thank you very much.
          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

          Comment


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

            Comment


              #7
              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!

              Comment


                #8
                Can you tell me where I can find the feature to record tours?

                Comment


                  #9
                  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.

                  Comment


                    #10
                    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!

                    Comment


                      #11
                      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?

                      Comment

                      Working...
                      X