Qballl / StaffPlus

The ultimate moderation plugin
GNU General Public License v3.0
33 stars 13 forks source link

Translating Problem #184

Closed trafoziya closed 3 years ago

trafoziya commented 3 years ago

I translated Staff+ to Turkish. And when i tried to restart my server, it closed itself giving errors that i dont know what it means. Can you take a look at it. I really want to use StaffPlus in my server.

Here is my language file.

And here is the error i take.

Please give me some information when you fix this.

Qballl commented 3 years ago

Can you provide the lang as a pastebin too?

trafoziya commented 3 years ago

Can you provide the lang as a pastebin too?

Ok, Click Me!

BalinGrant commented 3 years ago

You missed closing a string on line 180, a fixed version can be found Here

trafoziya commented 3 years ago

I have this error now :(

Azoraqua commented 3 years ago

When using special characters, escape them using \

trafoziya commented 3 years ago

I only use characters from Turkey. Which is "ı,İ,Ü,Ö,Ç,Ş,Ğ". And this characters should not be a problem in UTF-8.

When using special characters, escape them using \

Azoraqua commented 3 years ago

Depends on a few things, which encoding the language files are saved in as well as which encoding the java runtime is started with. By default, on Windows, it's windows-1252 (Also known as CP-1252). In which case it'll either result in an error if it cannot parse it or it causes those square-like characters.

trafoziya commented 3 years ago

The problem is, i cant find the character that error says. Its  with a ? in the middle but it just doesnt exist. I tried replacing all s with what they should be and it keeps saying "Unacceptable code point '' in position 457"

trafoziya commented 3 years ago

Depends on a few things, which encoding the language files are saved in as well as which encoding the java runtime is started with. By default, on Windows, it's windows-1252 (Also known as CP-1252). In which case it'll either result in an error if it cannot parse it or it causes those square-like characters.

I dont get any error with other plugins that i translated before. Nothing changed but plugin.

Azoraqua commented 3 years ago

Noted. You can see the progress in another issue #185.