Page 1 of 1

[solved] Translation of graphics

Posted: 14 April 2020, 21:23
by whites11
Hello again,
In a card game I am working on, the cards contain text and for this reason I would need to change the sprite files path based on the language of the user. Any guidance?

Re: Translation of graphics

Posted: 14 April 2020, 21:34
by tchobello
Hello,
there are lots of languages here.

perhaps you should think about using Tooltips and keep the graphics as they are

Re: Translation of graphics

Posted: 14 April 2020, 22:44
by vincentt
Hi,

For example, in the Builders, you have the name of the card that is displayed on it. What we did, was to have sprites with no name, and dynamically inserted on each card (through the template function if I remember correctly, you can have a look on the studio).
Then, every language is managed as it is directly linked to the translation system.
If your cards have a LOT of text, yes tooltip will be a lot of help. You may be able to do it like in Seasons where the card are displayed in low quality, and in the tooltip with better quality (and I am pretty sure the text is dynamic)

As a rule, try to put no text in your sprites, else it will never be translated.

Cheers

Vincent

Re: Translation of graphics

Posted: 15 April 2020, 18:25
by whites11
I understand your point, but in this specific game (exploding kittens) cards are different between one language and the other.
The actual effect of the card is the same, but the jokes on it (that are useless but part of the fun) are different.
Not sure how to tackle this, as "templating" all the cards seems unfeasible to me.

Re: Translation of graphics

Posted: 15 April 2020, 21:59
by fafa-fr
Hi,
If the possible languages are limited by the existing official translations (and image files you have) of this game, you could have a user preference that lets players choose their set of cards. One choice and one sprites image for each language you have image files for.
http://en.doc.boardgamearena.com/Game_o ... ns.inc.php (bottom of the page)
(This way, players understanding several languages will be able to read the different jokes in different languages.)

A player doesn't need to download all cards in all languages, so be sure to use dontPreloadImage(), see
http://en.doc.boardgamearena.com/Game_i ... ge_loading

Re: Translation of graphics

Posted: 16 April 2020, 07:25
by whites11
Thanks, that was what I was looking for.
My game is unpublished and I currently have graphics for my own language only.
I asked the designers if they're interested in publishing on BGA, but they didn't answer yet.
If I get a positive answer, and hopefully the graphics, I'll get back to this problem. For now I guess it is solved.

Re: Translation of graphics

Posted: 16 April 2020, 13:55
by DoctorPelusa
whites11 wrote: 15 April 2020, 18:25 I understand your point, but in this specific game (exploding kittens) cards are different between one language and the other.
The actual effect of the card is the same, but the jokes on it (that are useless but part of the fun) are different.
Not sure how to tackle this, as "templating" all the cards seems unfeasible to me.
If you need help with photo editing to get this done I could help you there, let me know if you want to take that approach. ;)