John Robbins has a great MSDN BugSlayer Article from April of 2004 on Psuedo Internationalization. When you're creating localization-ready applications, but you don't want to go to all the hassle of localizing your ever-changing resources to a specific language, you can create psuedo-internaFile Attachment: Psuedoizer.zip (11 KB)tionalized resources.
These are resources using not only funky characters (to cover more of the character spectrum), but they may be longer (simulating more 'verbose' languages like German).
For example, here's an English language snippet from one of our resource files:
<data name="Accounts.Download.Title"> <value>Transaction Download</value></data><data name="Accounts.Statements.Action.ViewStatement"> <value>View Statement</value></data><data name="Accounts.Statements.Instructions"> <value>Select an account below to view or download your available online statements.</value></data>
Here's the same snippet Psuedo-internationalized:
<data name="Accounts.Download.Title"> <value>[Ŧřäʼnşäčŧįőʼn Đőŵʼnľőäđ !!! !!!]</value> </data> <data name="Accounts.Statements.Action.ViewStatement"> <value>[Vįęŵ Ŝŧäŧęmęʼnŧ !!! !!!]</value> </data> <data name="Accounts.Statements.Instructions"> <value>[Ŝęľęčŧ äʼn äččőūʼnŧ þęľőŵ ŧő vįęŵ őř đőŵʼnľőäđ yőūř äväįľäþľę őʼnľįʼnę şŧäŧęmęʼnŧş. !!! !!! !!! !!! !!!]</value> </data>
It can still be read as near-English, which means you can localize your ASP.NET application to this funky almost-language and see:
John's article includes a nice WinForms application to "psuedoize" resources. However his code doesn't take into consideration:
I wanted a version to solve both these problems because I want to automatically psuedoize our applications during the Continuous Integration NAnt build. That means, Joe Developer adds a string, and the build will automatically generate psuedo-resources that include them all.
Here's my enhanced I18n Psuedoizer with much respect to John Robbin's original. Psuedoizer.zip (11.03 KB)
Ads by The Lounge