For localizing, any disadvantage to using an isolated C# class full of strings?

I’ve read that to prep for localization that it’s often best to isolate all strings in a separate datafile (such as XML). For whatever reason, XML is giving me issues on Android (another problem I’d like to solve), but it seems like it would be just as easy or easier to make one .cs class file full of strings in the same way. Then whenever you need a string just call a GetString(“id”, languageType) function.

I assume it would be as easy for a translator to edit a cs file as it would be an xml file or any other text file.

Any reason to not handle it this way?

Thanks. :slight_smile:

It is easier to use pure txt files since you can load them from any feed. That way you can do easy live updates for localization team if the app downloads text from server.
http://forum.unity3d.com/threads/35617-TextManager-Localization-Script