rockswang / haxe-i18n

Macro driven internationalization/localization toolkit for Haxe
24 stars 4 forks source link

Error: Call I18n.init() #6

Open RudolfVonKrugstein opened 10 years ago

RudolfVonKrugstein commented 10 years ago

Trying to follow the instruction ins the Readme in an OpenFL project I included I18n, added

import com.roxstudio.i18n.I18n;
using com.roxstudio.i18n.I18n;

Then in main Main function, on top, I added:

I18n.init();

Tyring to compile, I get this:

/usr/lib/haxe/lib/rox-i18n/git/src/com/roxstudio/i18n/I18n.hx:89: characters 26-31 : Call I18n.init()
Source/AccountManager.hx:56: characters 22-43 : Called from
Aborted