Jump to content

Lang files


Pirate Gamer

Recommended Posts

Hi! I wanted to make a lang file for my mod, it was pretty easy but actually I got a problem.

As I'm actually from Portugal, I wanted to make translations for portuguese and portuguese from brazil, for both...

I already made a version for english but portuguese as accented letters...

just like this ones here:  á,à,ã,â

but when I put accented letters, this ones get switched by a "?" inside of a square(a rectangle to be honest  ??? )

So I want to know how to fix this!

Link to comment
Share on other sites

You need to encode the files in UTF-8 instead of ASCII/ANSI. How you do this depends on your IDE, there are probably instructions for this if you search.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Link to comment
Share on other sites

It said me to go to

 

<main menu> -> Window -> Preferences - > General -> Content Types

 

and make shure that all the contents have the "encoding" set to UTF-8 or not set.

But there are some that are set to ISO-8859-1. Can I change it to UTF-8 or should I not touch that?

Also, I don't have the "Web" content that appears on the link.

 

I have done everything except changing the ones that as ISO encoding to UTF-8 cause I'm not shure if I can do that, or if it is going to make troubles. and i didn't set the "Web" content cause, as I said it doesn't appear on my eclipse.

But this way it is just like before, it didn't maked any change

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.