I18n and learning properties

Home Forums kbmMW I18n and learning properties

Viewing 1 reply thread
  • Author
    Posts
    • #56667
      mrluigi2017
      Participant

      Hi (Kim),

      I have tried to enable learning properties the following way:
      i18n.LearnProperties := True;
      i18n.Load(”, ‘test.yaml’);
      But for some reason the properties are not written to file. I have also switched the order of the lines above but that didn’t do the trick. I also toggled between saving and merging but this didn’t solve it either. If I do however modify the kbmMWI8N Load function and change the LearnProperties to true instead of false it does save the properties to the language file.

      Am I doing something wrong here?
      KbmMW 5.19.00 + D10.4.2 Pro

      Thanks in advance!

      Kind regards,
      Luigi

    • #56701
      kimbomadsen
      Keymaster

      Hi,

      You also need to enable the “masterswitch”:

      i18n.LearnProperties := True;
      i18n.Load(”, ‘test.yaml’,true);

      /Kim

Viewing 1 reply thread
  • You must be logged in to reply to this topic.