Skip to main content

User login

What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
Register
  • Home
  • Browse
    • 2D Art
    • 3D Art
    • Concept Art
    • Textures
    • Music
    • Sound Effects
    • Documents
    • Featured Tutorials
  • Submit Art
  • Collect
    • My Collections
    • Art Collections
  • Forums
  • FAQ
  • Leaderboards
    • All Time
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
    • Weekly
      • Total Points
      • Comments
      • Favorites (All)
      • Favorites (2D)
      • Favorites (3D)
      • Favorites (Concept Art)
      • Favorites (Music)
      • Favorites (Sound)
      • Favorites (Textures)
  • ❤ Donate
FLARE [ARCHIVED]

Untranslated / untranslatable strings

GunChleoc
Saturday, December 14, 2013 - 02:37

I did some testing and collected the strings that appear in English. I should file these on GitHub, but I wanted to ask first if you want them all in one issue or split up.

 

General Keywords that need adding to the xgettext script:

flare-game/mods/fantasycore/powers/powers.txt

requires_flags

 

Individual text entities missing from the indiviual .po files, but present in the .pot:

flare-game/mods/fantasycore/powers/powers.txt

description=Fire a spray of burning embers at close range. Effective against armored enemies.
description=Electrocute an enemy from a distance; +50% crit chance against movement-impaired enemies.

 

Individual text entities missing from the .pot:

flare-game/mods/fantasycore/items/items.txt

name=Seven-league boots

 

Entity translated in the .po, but translation not appearing in the game:

flare-engine/src/MenuPowers.cpp:531

tip.addText(msg->get("\nNext Level:"));

 

flare-game/mods/fantasycore/engine/hero_options.txt

all hero names

 

flare-game/tiled/averguard/averguard_temple.tmx
flare-game/tiled/averguard/goblin_warren.tmx

all flavour texts in the Averguard books

  • Log in or register to post comments
GunChleoc
joined 11 years 5 months ago
Saturday, December 14, 2013 - 02:53

P.S: It would also be good if sound files were localizable for NPCs. I'd be happy to record something for my language.

  • Log in or register to post comments
Stefan Beller
joined 13 years 1 month ago
Saturday, December 14, 2013 - 03:03

Regarding the requires_flags I am unsure why you'd want to translate them. Is it possible to see these texts as a user?

Originally these are designed to not be shown to the user, but only be kept for the internal state

  • Log in or register to post comments
GunChleoc
joined 11 years 5 months ago
Saturday, December 14, 2013 - 04:02

Yes, they are displayed in the powers menu, but I might not have identified the place in the source code correctly. See my screenshot. This happens with ranged weapon, mental weapon etc.

Attachments: 
Preview
flare_untranslatable_requir.png flare_untranslatable_requir.png 401.7 Kb [0 download(s)]
  • Log in or register to post comments
dorkster
joined 12 years 10 months ago
Saturday, December 14, 2013 - 04:24
dorkster's picture

I submitted a fix for two of the issues here: https://github.com/clintbellanger/flare-engine/pull/910

As for the others:

  • requires_flags; I searched through the source and didn't find anywhere these are printed. No translation necessary.
  • all flavour texts in the Averguard books; These appear to be being translated for me. EventManager.cpp line 224 catches them
  • we didn't regenerate po/pot files for flare-game this time around because there was so little data changes, and the fact that Clint is hard at work on new content. Of course, we'll regenerate everything for the 1.0 release.
  • Log in or register to post comments
dorkster
joined 12 years 10 months ago
Saturday, December 14, 2013 - 04:26
dorkster's picture

@GunChleoc

Thanks for the screenshot. I can definitely see that problem, so I'll attempt to fix it.

UPDATE: It looks like we need to add this line to xgettext.py for use in fantasycore:

extract('../engine/equip_flags.txt')

We have it in the engine repo's default mod xgettext.py, but we don't have equip flags in default mod.

  • Log in or register to post comments
GunChleoc
joined 11 years 5 months ago
Saturday, December 14, 2013 - 09:35

Thanks for taking care of this :)

The strange thing about the Averguard texts is that the translations are present in alpha_demo's po file, but do not get picked up by the game. This is really weird.

  • Log in or register to post comments