GNU gettext utilities: Programmers for other Languages

From Get docs
Gettext/docs/latest/Programmers-for-other-Languages


15.2 The Programmer’s View

For the programmer, the general procedure is the same as for the C language. The Emacs PO mode marking supports other languages, and the GNU xgettext string extractor recognizes other languages based on the file extension or a command-line option. In some languages, setlocale is not needed because it is already performed by the underlying language runtime.