#bankstatement #howto
Using the example of the new file stmnamibian.def
I’d like to briefly explain how to support other languages. One recognizes immediately, that the filename must follow the pattern stmLANGUAGE.def
. First, we consider the definition file for english:
1 2 3 4 5 6 7 8 9 10 |
\renewcommand*\STM@JK@holdername{Account Holder}% \renewcommand*\STM@JK@bicname{BIC}% \renewcommand*\STM@JK@ibanname{IBAN}% \renewcommand*\STM@JK@firstcolumnheading{\bfseries Date}% \renewcommand*\STM@JK@secondcolumnheading{\bfseries Reference}% \renewcommand*\STM@JK@thirdcolumnheading{\bfseries Amount (GBP)}% \renewcommand*\STM@JK@openingbalancename{Opening Balance}% \renewcommand*\STM@JK@closingbalancename{Closing Balance}% \sisetup{output-decimal-marker={.}}% \endinput |
If you want to support a namibian bank now, it requires of course the change of currency (3rd column) and the SEPA terms BIC and IBAN:
1 2 3 4 5 6 7 8 9 10 |
\renewcommand*\STM@JK@holdername{Account Holder}% \renewcommand*\STM@JK@bicname{Branch Code}% \renewcommand*\STM@JK@ibanname{Account Number}% \renewcommand*\STM@JK@firstcolumnheading{\bfseries Date}% \renewcommand*\STM@JK@secondcolumnheading{\bfseries Reference}% \renewcommand*\STM@JK@thirdcolumnheading{\bfseries Amount (NAD)}% \renewcommand*\STM@JK@openingbalancename{Opening Balance}% \renewcommand*\STM@JK@closingbalancename{Closing Balance}% \sisetup{output-decimal-marker={.}}% \endinput |