Grid Sage Forums

Grid Sage Forums

  • November 22, 2024, 12:47:13 PM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

LINKS: Website | Steam | Wiki

Author Topic: Language files as XML or similar  (Read 2639 times)

Gabriel

  • Unaware
  • *
  • Supported Cogmind Alpha Access 2015-2017 (Prime Tier)
  • Posts: 1
    • View Profile
Language files as XML or similar
« on: May 21, 2015, 02:40:29 PM »

It would be great if the language files were accessible so we could translate then. I'm not sure what programming language or engine you're using, but it's fairly easy to acomplish as far as I'm concerned, just a serializable array of strings or something? Also, does Cogmind support accented characters such as ãóñ? I guess not since it uses a custom font.
« Last Edit: May 21, 2015, 02:44:14 PM by Gabriel »
Logged

Kyzrati

  • Administrator
  • True Cogmind
  • *****
  • Posts: 4477
    • View Profile
    • Cogmind
Re: Language files as XML or similar
« Reply #1 on: May 23, 2015, 01:23:02 PM »

Yeah, because it's a custom font it's extended ASCII only--no unicode.

I would love it if Cogmind could support translation, but as with many roguelikes, it would be quite a lot of work since sentences are constructed from components which are both ordered and manipulated based on the rules of English grammar, so it's not as easy as replacing a single string for each statment...

While it's true many of the log messages use a simple variable replacement scheme, even assuming the necessary effort was put into enabling translation the game still wouldn't support anything but English letters. More difficult would be the many other sentences (like hacking output, for example) which are hardcoded sentence building functions.
Logged
Josh Ge, Developer - Dev Blog | @GridSageGames | Patreon