Skip to content

The translation assets are not be copied (linked) on initial starts or upon asset updates #819

@SadPencil

Description

@SadPencil

Description

            // copy translation files to the game directory
            foreach (var tgf in ClientConfiguration.Instance.TranslationGameFiles)

this code is only called when the save button was hit. However, the translation might be automatically selected in the initial starts.

XNA Client Version

2.12.9

Steps To Reproduce

  1. Define the in-game translation assets (zh-Hans in CnCNet YR for example)
  2. Delete the setting files and launch the client so that it automatically chooses the system language (if the system is in zh-Hans) or, try simulating the asset files update by overriting files in Resources\Translations\<lang-code>\<asset-file>
  3. Launch the game without ever clicking the Save button in the Option window

Expected Behaviour

The translation assets should be automatically updated on mismatch every time the client starts

Actual Behaviour

The translation assets is not updated unless the Save button is clicked

Additional Context

No response

Checklist

  • The issue happens on the latest official version of XNA Client and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, client logs, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions