본문 바로가기

IT for my Life/CAT Tool Programming

Fundamentals of Localization Coding

In the last article, I mentioned the importance of TM consistency. Here, I will point out the basics of localization coding that can support TM.

Fundamentals of Localization Coding

I'd say that there are 2 most important things when it comes to localization coding. They are COMObj and Safearray.
COMObj is a tool that programming languages use to directly communicate with Microsoft Applications.


COMObj system is just like the movie Matrix. Without COMObj you can only see the superficial facets of Excel, Outlook, Access, etc. Only with COMObj you can go into the "source" of these applications and become the true "Neo".

Then there is a Safearray

Besides COMObj there is a Safearray. Safearray is same as typical arrays but are tagged as "Hey, this array is related to COMObj." The most important benefit of using Safearray is it's sheer computing speed.

How fast are Safearrays?

Let’s say you’re building a wooden home for your family. You need to supply the timber from forests somewhere out there in the wild. You can carry trees one by one with a small car, or you can carry the whole lot with a big freight train just once. Safearray is like that train. Using Safearray is million times faster compared to giving a direct loop command.
So with the importance of COMObj and Safearray in mind, in next article I’ll mention my choice of coding program to utilize these great features.