JAVA Add-In Target Generating issue with special characters

I am using JAVA Add-In.

Previously when I generated target for French it showed:

LblMachineStatus=Statut\u00a0de l\'\'appareil

Now it is generating like this:

LblMachineStatus=Statut de l''appareil

I am also having issues with special characters in German, but hoping it is just a configuration issue that will fix both.

Here is my setup screen:

Java Options dialog box with settings for class names, encoding for source and target property files, and options like Write BOMs, Escape characters, Sentence level sub-segmentation, Use static resource name, and Store translated entries only.

Thanks!



Generated Image Alt-Text
[edited by: RWS Community AI at 3:11 PM (GMT 0) on 7 Jan 2025]
emoji
Parents
    • Assuming that the first translated string is the syntax you are expecting, correct?
    • Further assuming, that you called the options dialog using Tools – Add-Ins – Java Add-In – Setup, correct?

    Please note that these options are the generic options that will be applied to a Java source file when you add the file to the project. In larger Java projects, however, certain files often have to be localized with completely different options. Therefore, these options exist explicitly for each Java file and can also be set differently in each case.

    Go to the project view, filter by source files, and select one or some files. Right-click the selection and call String List Settings from the context menu. In the upcoming dialog, click on Options. You will see the same setup dialog, but now just with the setting for the selected file(s).

    emoji
Reply
    • Assuming that the first translated string is the syntax you are expecting, correct?
    • Further assuming, that you called the options dialog using Tools – Add-Ins – Java Add-In – Setup, correct?

    Please note that these options are the generic options that will be applied to a Java source file when you add the file to the project. In larger Java projects, however, certain files often have to be localized with completely different options. Therefore, these options exist explicitly for each Java file and can also be set differently in each case.

    Go to the project view, filter by source files, and select one or some files. Right-click the selection and call String List Settings from the context menu. In the upcoming dialog, click on Options. You will see the same setup dialog, but now just with the setting for the selected file(s).

    emoji
Children