Problem with language fileNot An Issue

When adding my language to the lang, I get question marks when setting up in the UI (??????)

  1. Which language?
  2. Where do you see the ??? In the notes, or also for the buttons and column headers?
  3. Can you provide an example language file so that I can recreate the issue?
  4. Try adding your language directly into the notes in-game to see if that works, to verify whether it is possible for the notes to display your language.

I have a lot of plugins with English and Russian languages, everything works, but something seems to be wrong with the encoding.

This plugin does not affect encoding. It simply reads from the language file and adds the text to the UI and notes like every plugin. If you can answer my above questions and help me reproduce the issue, that will help us determine the root cause faster.

Your point about other plugins may be irrelevant. Most plugins do not add text to notes. I asked whether you see the problem in the UI or just the notes, so that we can determine the issue is specific to the notes. If it's specific to notes, we should first determine whether the notes can indeed display Russian characters, as it is important to verify assumptions while troubleshooting, so that we can definitively rule out problems and make deductions. I'm not able to be at my computer for the next 8 hours, so I suggest that you perform these suggested troubleshooting steps if you can.

The problem is observed both in the UI and in the notes at the same time

Merged post

This is how it looks approximately



Merged post

There was also a warning.

'CustomVendingSetup v2.5.0' is using deprecated hook 'OnOpenVendingShop', which will stop working on Thursday, 06 October 2022. Please ask the author to update to 'OnVendingShopOpened(VendingMachine vendingMachine, BasePlayer player)'

Disregard the hook warning for now.

Im assuming that's not a screenshot of the game since doesn't even resemble the Custom Vending Setup UI. There shouldn't be that much text, and I don't even see a container.

Can you send me your lang file so that I can reproduce the issue?

Merged post

I tried the following lang file and didn't notice any issues.

{
  "Button.Save": "спасти",
  "Button.Cancel": "Отмена",
  "Button.Edit": "редактировать",
  "Button.Reset": "перезагрузить",
  "Info.ForSale": "продается",
  "Info.Cost": "СТОИМОСТЬ",
  "Info.Settings": "НАСТРОЙКИ",
  "Settings.RefillMax": "Максимальный запас",
  "Settings.RefillDelay": "Секунды между заправками",
  "Settings.RefillAmount": "Сумма пополнения",
  "Error.CurrentlyBeingEdited": "Этот торговый автомат в настоящее время редактируется {0}."
}

I clarified that the screenshot with question marks is approximate, so that you understand how it looks in the game rast.

Merged post

Okay, thanks for your attention, I've already figured out the functions, I'll use it in English

Locked automatically