Issue
When the language is set to “French” in the Web application settings, the unit for “Current” displayed in the diagrams or Vista is incorrect.
Instead of “A” is showing ‘1’.
The issue is not observed for any other language.
Environment
First observed in PME2020 when localization in WebApps is set to French
Cause
The translation setting in French for the ResourceKeyname is set to ‘1’ in the [Internationalization].[LocalizedStrings] table ApplicationModules Database
You can confirm the Localization string for this language by running the following script
USE [ApplicationModules]
GO
SELECT [Id]
,[LanguageSpecifier]
,[ResourceSetName]
,[ResourceKeyname]
,[LocalizedValue]
FROM [Internationalization].[LocalizedStrings]
where ([LanguageSpecifier] like 'fr') and ([ResourceKeyname] like 'a')
GO
GO
SELECT [Id]
,[LanguageSpecifier]
,[ResourceSetName]
,[ResourceKeyname]
,[LocalizedValue]
FROM [Internationalization].[LocalizedStrings]
where ([LanguageSpecifier] like 'fr') and ([ResourceKeyname] like 'a')
GO
If the output of the query returns "LocalizedValue" to '1', the system is affected by this issue.
Resolution
1. Backup all PME databases
2.Update the customer's system by running the following SQL script on their Application Modules database
EXEC [Internationalization].[WriteLocalizedString] 'fr', 'DiagramResources', '', 'a', '', N'A'
3.Restart the applications to see the change. It should look as below