A more powerful go I18n library

631 views
Skip to first unread message

Stefan Schulz

unread,
May 22, 2013, 5:24:40 PM5/22/13
to golan...@googlegroups.com
Remember me? ;) I recently asked some basic questions about godoc. At that time, I hinted at a project I was working on.

Its now in a state I feel confident showing to you:


* What is it?

It is a library for i18n, that should be easy to use, extend and customize to your needs

* Why do I need it?

Because there is no builtin mechanism in the language, and I did not find a project with comparable features yet

* What can it do?

While there is still a lot to do (including writing a formal roadmap), right now there is a way to load translations, access these resources, and format messages with dynamic data. This includes formats for dates and pluralization rules.

* How do I get it?

All code is available on google code, so go get should be sufficient. If there is a need for it, I might add packaged downloads further down the road

Thanks for your time, and back to your regularly scheduled discussions. ;)

GreatOdinsRaven

unread,
May 23, 2013, 1:11:29 AM5/23/13
to golan...@googlegroups.com
I'm glad someone's working on Go I18N! 

I remember Rob Pike acknowledged that Go was weak in this area (a long time ago). I've since seen this (still experimental?) locale package:
Seems to be under active development. 

Just curious if you were aware of it? 

Stefan Schulz

unread,
May 23, 2013, 12:56:54 PM5/23/13
to golan...@googlegroups.com


On Thursday, 23 May 2013 07:11:29 UTC+2, GreatOdinsRaven wrote:
I'm glad someone's working on Go I18N! 

I remember Rob Pike acknowledged that Go was weak in this area (a long time ago). I've since seen this (still experimental?) locale package:
Seems to be under active development. 

Just curious if you were aware of it? 

I am aware of it (though only became so after starting my own work), but  still consider my approach viable - especially since it is relatively low-overhead. I really aim towards a low barrier of entry, while (hopefully) still being general enough to satisfy different languages. For example, I don't really have a concept of different kinds of scripts - instead, they enter the equation implicitly by value strings being represented in them. 

Frank Blechschmidt

unread,
Jul 31, 2013, 7:30:06 PM7/31/13
to golan...@googlegroups.com
An example would be great how to use it :)

David DENG

unread,
Aug 4, 2013, 10:39:58 AM8/4/13
to golan...@googlegroups.com
http://go-search.org/search?q=i18n

There are quite a few i18n packages.

David
Reply all
Reply to author
Forward
0 new messages