Author Topic: [Feature Request] Add keys to localization dictionary  (Read 4089 times)

vallcrist

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 49
    • View Profile
[Feature Request] Add keys to localization dictionary
« on: May 17, 2014, 10:58:21 AM »
Hello again.

I'd like to request a feature to the localization system : The possibility to add keys from a second csv file to the current loaded dictionary.

Why?

Because it would be easier to organize the localization files this way, like in our current game we have lots of itens with names and descriptions, and if we put those together with the whole UI localization strings it would get messy very qucikly.

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: [Feature Request] Add keys to localization dictionary
« Reply #1 on: May 17, 2014, 06:45:26 PM »
You have access to the Localization.Set method, letting you do what you want. Likewise you have full access to Localization.dictionary, which also lets you add anything you like.