Closed jthoerner-tso closed 1 month ago
Hi @jthoerner-tso, thanks for reporting the issue.
I think that your issue may be related to your VS Code extension for translation (I suppose that is AL Translation Center), not AL Translation Snippets itself.
I created a new project, using AL Language extension for Microsoft Dynamics 365 Business Central v14.0.1108692 (pre-release), and last version of AL Translation Center (v2.6.2) with a table with one field that have a table tooltip.
The result was OK, as stated by the picture below, without the need of add "g.xlf":
I attach my test project below. Feel free to modify to replicate the issue. General.zip
I suspected at first that the name "General" could be source of the issue (after seeing your modification), but at the moment, as I say, I need more information.
Hi Daniel, yes, this topic actually belongs to the AL Translation Center .
Thank you for the project. I tested your demo project with the latest version of AL Translation Centre in a BC24.4 environment, and it works as expected even without “g.xlf”.
Thank you for the project. I have tested your demo project with the latest version of AL Translation Center in a BC24.4 environment, and it works as you say, even without “g.xlf”.
Interestingly, for fields that are created via table extension, the tooltips do not seem to work without the addition of “g.xlf”.
I have extended your project to reflect this behavior. Please also feel free to try out the extended project. General2.zip
I'm going to transfer the issue to the right repository, for keeping a eye on it.
Maybe an AL Extension bug? https://github.com/microsoft/AL/issues/7790#issuecomment-2221533430
As stated in https://github.com/microsoft/AL/issues/7790#issuecomment-2339489928 is technically fixed at server side for BC24/25, and probably the logic of object extensions will be modified in the future.
I am going to close the issue for now. Thanks for your feedback.
Hi, small issue. If you add a tooltip with translation to a table field in BC24, this translation is currently not displayed in the UI, i.e. on the page.
I have found out that the problem is caused by the attribute ‘original’, which contains the file name of the .g.xlf.
Currently this line is generated like this.
<file datatype="xml" source-language="en-US" target-language="de-CH" original="General">
However, it only works if the line is set up like this:
<file datatype="xml" source-language="en-US" target-language="de-CH" original="General.g.xlf">
The other translations still work as expected. Maybe this is also a bug in my BC24 version..