Skip to content

[Bug]: Translation directories not recognized in Sourcemod 1.13+ (dev branch) #2293

Open
@Nekromio

Description

@Nekromio

Prerequisites

  • I have checked that my issue doesn't exist yet in the issue tracker

Operating System and Version

Linux (exact version unknown, MyArena hosting, no SSH access)

Game / AppID and Version

Counter-Strike: Source v.93

SourceMod Version

1.13.0.7207

Metamod:Source Version

1.11.0-dev+1156

Version Verification

Updated SourceMod Version

1.13.0.7218

Updated Metamod:Source Version

1.11.0-dev+1156

Description

All plugins are only checking for translations in /addons/sourcemod/translations/.
Other translation subdirectories, such as:

  • /translations/ru/
  • /translations/el/
  • /translations/fr/

are not being recognized. As a result, plugins throw an error about missing translations.

Expected behavior:
Sourcemod should recognize and load translations from the appropriate language subdirectory (/translations/ru/, /translations/el/, etc.) instead of only searching in /addons/sourcemod/translations/.

Steps to Reproduce

  1. Set the language in /addons/sourcemod/configs/core.cfg to "ru".
  2. Install a plugin that provides language-specific translations, such as [Little Anti-Cheat (LAC)](https://github.com/J-Tanzanite/Little-Anti-Cheat).
  3. LAC places its Russian translation in /translations/ru/lilac.phrases.txt.
  4. However, Sourcemod only looks for translations in /addons/sourcemod/translations/lilac.phrases.txt.
  5. Since the Russian translation is not in that folder, the plugin throws an error about a missing translation.

Workaround:
If I manually copy the translation file into /addons/sourcemod/translations/, the plugin works without errors. However, this issue affects all plugins that rely on language-specific subdirectories.

Relevant Log Output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Buggeneral bugs; can be anything

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions