rockswang / haxe-i18n

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

haxelib not up to date #3

Open Willis77 opened 10 years ago

Willis77 commented 10 years ago

Hi,

Thanks so much for the effort you've put into this library. I was working on internationalization problems from a different angle when I discovered your library. Very well thought out and complete.

I'm not sure if this is the best place to report this problem. However, when I installed from haxelib, I got an older version. It took me a while to figure out why I was getting the error:

com.roxstudio.i18n.#I18n has no field setCurrentLocale

Even though the haxelib version claimed to be at version 1.0.0, the same as the github version, the versions were actually different. The problem persisted even after I did a haxelib selfupdate. Once I manually replaced my haxelib version with the one from github, my problems went away.

For what it's worth, I'm on a Mac, haxe 3.0.0, haxelib 3.1.0-rc.3.

chiguire commented 9 years ago

Basically this.

As of today, if you're using haxelib to install this library, you will find an outdated version with no I18n.setCurrentLocale(). The github repo currently holds the latest version with that method.