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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    R20 ignores language/stringtable

    Cinema 4D SDK
    python r20
    3
    3
    876
    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.
    • eggtionE
      eggtion
      last edited by r_gigante

      Hi folks!

      I hope you can help me with the following language issue in R20:
      My python plugin "Egg Object 2" (http://eggtion.net/playground/cinema4d/egg-object-2) uses stringtables/descriptions to translate the attributes in english or german.
      While working great in R19 the R20 ignores the language: if i change the language in the preferences and restart Cinema4d, the plugin attributes will always be in german.
      But when i delete the directory "strings_de", the plugin works in english. Means the english files are okay.
      I've tried to change the directory tree like shown here:
      https://developers.maxon.net/docs/py/2023_2/misc/pluginstructure.html
      with the other language within the strings_us, but with no success.
      Any advice what changed in R20?

      Grateful for any help,
      cheers,
      Mark.

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

        The language folders now follow a different scheme (ISO 639-1).
        See here: https://developers.maxon.net/docs/cpp/2023_2/page_maxonapi_plugin_dev.html

        1 Reply Last reply Reply Quote 1
        • eggtionE
          eggtion
          last edited by

          That's it! 🙂
          Thank you so much, mp5gosu!
          Cheers,
          Mark.

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