Hi all
We are currently having some difficulty translating a custom report we made in Business Central to our native language (Afrikaans) which is not a default language with Microsoft.
We created a translation (xlf) file for Afrikaans using the file that was automatically generated saved it separately. We added Afrikaans as a language to business central and called the language using the code :
CurrReport.Language := Language.GetLanguageId(LanguageCode);
Where
Language: codeunit Language
LanguageCode := the code for the Afrikaans language (1078 if I remember correctly)
The code was called in the OnAfterGetRecord trigger.
At this stage I dont understand how the system know what translation file to call based on the language set. Is there a connection I should have made that I missed?
Any help would be greatly appreciated