Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Issue with locale support in R20 plugin

    Cinema 4D SDK
    3
    4
    759
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      joyita
      last edited by

      We are facing an issue with plugin locale in Cinema 4D R20. We use plugins.GeLoadString to load the strings. Till R19, this method used to fetch the data depending on the language selected in Cinema 4D. But in R20, it is selecting the data from the property file which comes first alphabetically. So we have strings_ES, strings_fr, strings_US, which means plugin is always loading with Spanish locale.

      1 Reply Last reply Reply Quote 0
      • M
        mp5gosu
        last edited by

        R20 uses a new scheme: https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_plugin_dev.html#page_maxonapi_plugin_dev_resources

        1 Reply Last reply Reply Quote 1
        • ManuelM
          Manuel
          last edited by Manuel

          hello,

          We confirm @mp5gosu 's answer you have to use the new scheme with the R20.

          Cheers
          Manuel

          edit : sorry I've marked @mp5gosu post as the solution, but it's still your decision to do so 🙂

          MAXON SDK Specialist

          MAXON Registered Developer

          1 Reply Last reply Reply Quote 0
          • J
            joyita
            last edited by

            Thank you.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post