The Trados cloud platform will be undergoing maintenance on Saturday, 9th May 2026 between 05:00 to 17:00 UTC. During this time, you will not be able to log in to the Trados platform.

Changing lang.langcode from 3 to 2 letters

Exporting translation bundles for each target language using the sample macro from the documentation:

' Make filename "test_<langcode>.tba/tbu" 
    Dim filename As String 
    filename = "F:\jenkins\jobs\l10n-infrasign-b8\workspace\INFRASIGN_L10N_" & lang.LangCode
    bundle.License ("")
    prj.ExportTransBundle bundle, filename

gives me

INFRASIGN_L10N_esp.tbulic
INFRASIGN_L10N_nld.tbulic
INFRASIGN_L10N_enu.tbulic

I need:

fINFRASIGN_L10N_es.tbulic
fINFRASIGN_L10N_nl.tbulic
fINFRASIGN_L10N_en.tbulic

Any way to format lang.LangCode?

Thank you!

emoji