Author Topic: Translations for operations cannot be added using the API  (Read 2942 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Translations for operations cannot be added using the API
« on: June 03, 2024, 05:14:57 pm »
Details:
In the API there are methods to set the translations for EA.Method, but they simply don't work.
The translation is not added (that, or the GetTX... methods don't work, that is possible as well)

There is unfortunately no way to view or update translations for operations using the GUI

Seriously, who tested this feature? Was this tested at all?


Steps to Reproduce:
Code: [Select]
function main
    dim language
    language = "nl"
    dim operation
    set operation = Repository.GetMethodByGuid("{1880D1F3-8CC0-4291-AC6F-2432AB636921}")
    Session.Output "Start: " & operation.GetTXName(language,0)
    operation.SetTXName lcase(language), UCase(language) & " TXName"
    operation.update
    Session.Output "txName: " & operation.GetTXName(language,0)
end function

Reported

Geert