Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

2.0: Start of a new translation system #21

Merged
merged 4 commits into from Sep 19, 2011

Conversation

Projects
None yet
2 participants
Owner

franzliedke commented Sep 16, 2011

Hey folks,

this is how I envision what the translation system should look like.

I have decided to create another ticket mainly because of separation of concerns and because we wanted to cache language files in PHP and that would be hard to introduce into the Gettext class ;)

This is simple and convenient.

P.S.: I also tested it. It works - as far as I got.

Owner

franzliedke commented Sep 19, 2011

Talk to me, guys! I want comments.

One thing I noticed is that I probably want to improve the t() function somewhat so that it works just like sprintf() - maybe even with support for plurals, as Gettext does it.

@franzliedke franzliedke added a commit that referenced this pull request Sep 19, 2011

@franzliedke franzliedke Merge pull request #21 from lie2815/fluxbb-2.0-gettext
#367: Start of a new translation system.
2aa7af9

@franzliedke franzliedke merged commit 2aa7af9 into fluxbb:fluxbb-2.0 Sep 19, 2011

Contributor

GromNaN commented Sep 20, 2011

Sounds to be a good first step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment