Localization

Aug 26, 2009 at 3:51 AM

Nick, 

API looks great and will help out a lot.  I noticed that the messages are hard coded in SaveDevice.cs.  Is it possible to add these to a resource file?

Thanks again!

Coordinator
Sep 1, 2009 at 11:05 PM

That's a good point. I think a good solution is to change them from being const or readonly to being a bunch of static get/set properties. Then each game can set them using whatever localization method they prefer.

Thanks for the feedback. It should make the library that much better. :)

Coordinator
Sep 1, 2009 at 11:22 PM

I've gone ahead and made the fix and committed it to the source. Check out the Source Code section and grab the latest source to get a version that has all of those strings exposed as public static get/set properties, which will let you do any localization (or just customization) in your game.

 

Mar 25, 2010 at 3:02 PM

To remove all the extra translations (only want English), I removed the resource files from the project.  Is there a simpler/better way to do that? 

It seemed to work, but I'm not sure that was the best way.  Thanks!

 

Coordinator
Mar 25, 2010 at 3:50 PM
That is the correct way to remove localization.

On Mar 25, 2010, at 8:02 AM, "radiangames" <notifications@codeplex.com> wrote:

From: radiangames

To remove all the extra translations (only want English), I removed the resource files from the project. Is there a simpler/better way to do that?

It seemed to work, but I'm not sure that was the best way. Thanks!