Jump to content

Resource pack language file strings with multiple apostrophes aren't displayed properly


Ardub

Recommended Posts

When using a resource pack that includes a language file, many strings won't display apostrophes if they contain more than one. This problem is seen in Forge 35.1.13 with no mods installed; in a vanilla Minecraft profile these strings display as expected.

 

For instance, the line

"menu.singleplayer": "One 'player'"

causes the singleplayer button on the main menu to display as One player with Forge. Without Forge it displays as One 'player'.

 

I've created a small resource pack that replaces several strings in en_us.json with ones that include multiple apostrophes, including the one above. For reference, it also includes two strings I found that aren't affected—a death message and a command output; these display correctly. Make sure the language is set to "English (US)".

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.