If you add this language as source language to your TM on a GS Server (I have not tested with local SDLTMs):
and then try to get the language direction in your code, an exception is thrown:
I am on Trados Studio 2022 SR1.

If you add this language as source language to your TM on a GS Server (I have not tested with local SDLTMs):
and then try to get the language direction in your code, an exception is thrown:
I am on Trados Studio 2022 SR1.
I have found the reason: The Interface has been changed from LanguageDirection.SourceLanguage to LanguageDirection.SourceLanguageCode (and TargetLanguageCode respectively).
I have found the reason: The Interface has been changed from LanguageDirection.SourceLanguage to LanguageDirection.SourceLanguageCode (and TargetLanguageCode respectively).