Brewery

Brewery

101k Downloads

Problems with translation

arnefm opened this issue ยท 3 comments

commented

I am trying to translate the plugin to norwegian. To do this I have made a copy of en.yml, edited it, and saved it as no.yml.
In config.yml I have set language: no

This does not seem to work. After restarting the server the language has not changed. After doing /brew reload a new file is created in the languages folder called false.yml. It contains the default english translation.

I have, of course, checked the no.yml file for syntax errors but I can not find any.
Is this a bug or am I doing something wrong?

Thanks!

Btw, fantastic plugin. One of the best I have seen in a long time!

commented

Thanks for the detailed bug report.
It seems to read "no" as the boolean value "false"...
Try to write it like this in the config (wrap no in ' '):

language: 'no'

If you dont mind, i would like to put your translation up on the Brewery Bukkit page!

commented

Cool, that was a new! Never heard of that happening before. Wrapping it in quotation marks works.

The translation is here, I believe I have caught all typos and spelling errors:
http://pastebin.com/auQnNcnU

If I happen to find any errors I will update my translation and notify you.

Btw, I saw in the language file that it should be possible to get info on how long the contents of a cauldron have seethed. How do you get this information?

commented

Thanks!

Use a clock on a cauldron to get the seething time :) Added that to the wiki.