Preloading Localization Occurs After Partial Internal Content Localization, Resulting in Localization Failure #12977
Labels
bug
bugs found in the application
electron
issues related to the electron target
localization
issues related to localization/internalization/nls
Bug Description:
When preloading localization is performed during the
load
process, it causes a failure in localizing the commands withinCommonCommands
. This issue arises because the first import statement in the code snippet already attempts to localize the commands withinCommonCommands
before the localization is fully loaded.This sequence of code triggers the localization process, but since the localization hasn't completed yet, it prevents proper localization for the commands within
CommonCommands
.To resolve this issue, it is necessary to ensure that the localization process completes before attempting to localize any content, including the commands within
CommonCommands
.Steps to Reproduce:
1.When setting the language to Chinese, I noticed that some translations are not working properly.
Additional Information
The text was updated successfully, but these errors were encountered: