Hello, we apologize but forum registrations are non-functional at this time. This issue should be fixed around mid-December. Until then, please stop by our Discord channel if you'd like to get in touch with the team. Thanks!

Search found 16 matches

by MoOshiCow
Tue Mar 18, 2008 11:06 am
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Re: Getting gettext & translation into Allacrost

WK: I don't think your suggestion would work in a technical aspect. I'm not an expert on gettext (yet ;)), but I think the way it does the translation lookup is dependent on what file and at what location the string to translate was located in, which determines where the translated string should be...
by MoOshiCow
Thu Feb 28, 2008 7:14 am
Forum: Programming
Topic: [RETIRED] Subversion Commit Log
Replies: 1650
Views: 562429

Re: Subversion Commit Log

Revision 1287 committed. **************************************************** Added files >txt/ >txt/allacrost.pot Modified files > src/utils.cpp > src/utils.h > src/defs.cpp > src/engine/system.cpp > dat/maps/demo_cave.lua > dat/maps/demo_town.lua Primary changes in commit > Getting gettext (transl...
by MoOshiCow
Thu Feb 28, 2008 7:13 am
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Re: Getting gettext & translation into Allacrost

Finally committed some changes regarding gettext.. Here are the changes and details: Modified files src/utils.cpp & utils.h: added helper function Translate() that invokes a gettext() call src/defs.cpp : binded the Translate() function such that we can use it in the .lua files (hoa_utils.Translate()...
by MoOshiCow
Thu Jan 10, 2008 10:26 am
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Alright Roots,

sorry for the delayed response..
been away during winter break..

i will try getting stuff done by this weekend
thanks for the patience

-MC (sounds like i'm a DJ or a rapper or something..)
by MoOshiCow
Wed Oct 31, 2007 8:25 pm
Forum: Design
Topic: Battle design proposal: A new approach
Replies: 66
Views: 39617

Well, I'm coming into the discussion from the sidelines, and a bit late.. I guess, it sounds like #2 is going to be the more radical change, since it changes a lot of stuff in terms of art design and battle system design. I'll say #2 sounds like the "better-looking" option, as in visually more appea...
by MoOshiCow
Wed Sep 05, 2007 1:48 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Alrighty.. sorry for the lack of update recently.. with school starting again..and end of summer... had some stuff to deal with..been kinda busy.. so i guess i got most of the "marking translatable strings" progress done.. and have a couple questions.. First, I've been trying to display Korean onto ...
by MoOshiCow
Thu Aug 23, 2007 12:59 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

a) function DoSomething(s) { DoSomethingWithString(s); } DoSomething(Translate("Hello World!")); DoSomething(Translate("Hello Another World!")); b) function DoSomething(s) { DoSomethingWithString(Translate(s)); } DoSomething("Hello World!"); DoSomething("Hello Another World!"); The version (b) seem...
by MoOshiCow
Sun Aug 12, 2007 12:20 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

So I'm perfectly fine with the Translate() macro.. It's one extra word to type...its clear in its purpose And scripters have to follow the format dialogue::AddText("string", -1, -1 -1) in order to get dialogue into the game.. I'm sure they can handle an extra thing to follow (of course, Translate() ...
by MoOshiCow
Fri Aug 10, 2007 11:09 am
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

I think splitting up each map file, sounds reasonable..
As mentioned, it's probably easier to add new map files that way..

And for the _(), we can probably just define _ as TranslateString or whatever we're using..
if we feel that _() is more comfortable..
by MoOshiCow
Wed Aug 08, 2007 6:14 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

MoOshiCow, I am not sure why do you want to define functions "TranslateString" and "AddText". Is that only for Lua or also for C++? Traditionally, the translating function is called "_". More precisely, this is a macro for function "gettext". This function is provided by the gettext library. Well A...
by MoOshiCow
Tue Aug 07, 2007 4:33 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Re: Getting gettext & translation into Allacrost

When you mentioned domain earlier, I thought domain implied the regional translation (ie english, german, polish, etc.). So it instead means "which file name to lookup the translated string in"? That makes things a little more confusing than I thought they'd be for our code. :eyespin: Hmm...so yeah...
by MoOshiCow
Mon Aug 06, 2007 8:43 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Re: Getting gettext & translation into Allacrost

Everything you said sounds good. I would make the TranslateString() method a member of the GameSettings class. Also the second argument to the method (domain) won't be necessary when attached to the GameSettings class, since GameSettings keeps track of what the currently set domain is. I guess my f...
by MoOshiCow
Sat Jul 28, 2007 10:36 pm
Forum: Programming
Topic: Getting gettext & translation into Allacrost
Replies: 115
Views: 39109

Getting gettext & translation into Allacrost

Well I've finally got something started with internationalizing Allacrost.. While, I haven't committed anything into subversion yet, I think I need to organize how all of this translating stuff is going to work out.. This is basically what I have modified so far: main.cpp - some initializing code fo...
by MoOshiCow
Mon Jul 23, 2007 9:39 am
Forum: Programming
Topic: Programmer Roll Call
Replies: 209
Views: 45011

Yeah..sorry about the lack of update.. Been kind of in and out last week... and went to Baltimore to go to Otakon (Anime/Game convention) this weekend so didnt get much done then either As for progress I have been playing around with gettext, lua, luabind stuff.. but havent actually written anything...
by MoOshiCow
Thu Jul 12, 2007 8:31 pm
Forum: Programming
Topic: Battle Code -- Post 0.2.0 Demo
Replies: 39
Views: 6898

I think I seem to have bumped into the issue described by ChopperDave. While, I am still in the middle of configuring..setting up things for VC++ 2005..I'm getting errors in compiling: 1>------ Build started: Project: Allacrost, Configuration: Debug Win32 ------ 1>Compiling... 1>battle.cpp 1>c:\docu...
by MoOshiCow
Thu Jul 05, 2007 9:17 pm
Forum: Programming
Topic: Programmer Roll Call
Replies: 209
Views: 45011

Alrighty. I guess I'll be spending a few days getting familiar with the new stuff...and see what I understand and what I'm not quite familiar with..