Skip to content

Instantly share code, notes, and snippets.

@scottcate
Created January 26, 2013 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottcate/4643668 to your computer and use it in GitHub Desktop.
Save scottcate/4643668 to your computer and use it in GitHub Desktop.
Windows 8: Score Keeper English resw file, if someone wants to help localize the application to their own language, this is the starter kit.
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Accounts" xml:space="preserve">
<value>Accounts</value>
<comment>Label for Accounts</comment>
</data>
<data name="AddPlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Add Player</value>
<comment>Label for Add Player Button</comment>
</data>
<data name="AdjustScoringRange" xml:space="preserve">
<value>Adjust Scoring Range</value>
<comment>Label for the settings option to adjust the range of possible scores</comment>
</data>
<data name="AppTitle.Text" xml:space="preserve">
<value>Score Keeper</value>
<comment>Label for the title of the application</comment>
</data>
<data name="DeleteGameButton.Content" xml:space="preserve">
<value>Delete Game</value>
<comment>Label for the delete game button</comment>
</data>
<data name="Done.Content" xml:space="preserve">
<value>Done</value>
<comment>Label for the Done Button</comment>
</data>
<data name="LiveIDSignIn.Content" xml:space="preserve">
<value>Sign in (LiveID)</value>
<comment>Label for the Sign in (LiveID) button</comment>
</data>
<data name="LiveIDSignOut.Content" xml:space="preserve">
<value>Sign out (LiveID)</value>
<comment>Label for the Sign out (LiveID) button</comment>
</data>
<data name="LoadGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Load Game</value>
<comment>Label for the load game button</comment>
</data>
<data name="LoadGameButton.Content" xml:space="preserve">
<value>Load Game</value>
<comment>Label for the load game button</comment>
</data>
<data name="MaximumScore.Text" xml:space="preserve">
<value>Maximum Score</value>
<comment>Label for maximum score setting</comment>
</data>
<data name="MinimumScore.Text" xml:space="preserve">
<value>Minimum Score</value>
<comment>Label for minimum score setting</comment>
</data>
<data name="Name" xml:space="preserve">
<value>Name</value>
<comment>Label for Name</comment>
</data>
<data name="Name.Text" xml:space="preserve">
<value>Name</value>
<comment>Label for Name TextBlock</comment>
</data>
<data name="NewGameButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>New Game</value>
<comment>Label for the new game button</comment>
</data>
<data name="PlayerOne" xml:space="preserve">
<value>Player One</value>
<comment>Default name for the first player</comment>
</data>
<data name="PlayerTwo" xml:space="preserve">
<value>Player Two</value>
<comment>Default name for the second player</comment>
</data>
<data name="PlayerThree" xml:space="preserve">
<value>Player Three</value>
<comment>Default name for the third player</comment>
</data>
<data name="PlayerFour" xml:space="preserve">
<value>Player Four</value>
<comment>Default name for the fourth player</comment>
</data>
<data name="Remove.Content" xml:space="preserve">
<value>Remove</value>
<comment>Label for the Remove Button</comment>
</data>
<data name="RemovePlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Remove Player</value>
<comment>Label for Remove Player Button</comment>
</data>
<data name="RenameGameButton.Content" xml:space="preserve">
<value>Rename Game</value>
<comment>Label for the rename game button</comment>
</data>
<data name="Round" xml:space="preserve">
<value>Round</value>
<comment>Label for the cell at 0,0</comment>
</data>
<data name="rummy" xml:space="preserve">
<value>Rummy</value>
<comment>Name of the game Rummy</comment>
</data>
<data name="RunningGames.Text" xml:space="preserve">
<value>Running Games</value>
<comment>Label for running games</comment>
</data>
<data name="ScoreRangesButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Score Ranges</value>
<comment>Label for the score ranges settings button</comment>
</data>
<data name="spades" xml:space="preserve">
<value>Spades</value>
<comment>Name of the game Spades</comment>
</data>
<data name="Step.Text" xml:space="preserve">
<value>Step</value>
<comment>Label for the step of the score slider</comment>
</data>
<data name="Total" xml:space="preserve">
<value>Total</value>
<comment>Label for the cell at 0,X</comment>
</data>
<data name="RuleSets.Text" xml:space="preserve">
<value>Rule Sets</value>
<comment>Label for rule sets</comment>
</data>
<data name="Sketchpad.Text" xml:space="preserve">
<value>Sketch Pad</value>
<comment>Label for the sketch pad</comment>
</data>
<data name="DeleteGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Delete Game</value>
<comment>Label for the delete game button</comment>
</data>
<data name="RenameGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Rename Game</value>
<comment>Label for the rename game button</comment>
</data>
<data name="PrivacyPolicy" xml:space="preserve">
<value>Privacy Policy</value>
<comment>Label for privacy policy</comment>
</data>
<data name="PrivacyPolicyDetails" xml:space="preserve">
<value>This application doesn't ask, gather, store, or send any personal information on your behalf. MIcrosoft ID's and user log in information is used for the sole purpose of saving data to your SkyDrive account, but is never stored on our servers.</value>
<comment>The text of the privacy policy</comment>
</data>
<data name="Clear.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Clear</value>
<comment>Label for clear app bar button</comment>
</data>
<data name="Color.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Color</value>
<comment>Label for color app bar button</comment>
</data>
<data name="Copy" xml:space="preserve">
<value>Copy</value>
<comment>Label for copy</comment>
</data>
<data name="Erase.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Erase</value>
<comment>Label for erase app bar button</comment>
</data>
<data name="Load" xml:space="preserve">
<value>Load</value>
<comment>Label for load</comment>
</data>
<data name="More.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>More</value>
<comment>Label for more app bar button</comment>
</data>
<data name="Paste" xml:space="preserve">
<value>Paste</value>
<comment>Label for paste</comment>
</data>
<data name="Refresh" xml:space="preserve">
<value>Refresh</value>
<comment>Label for refresh</comment>
</data>
<data name="Save" xml:space="preserve">
<value>Save</value>
<comment>Label for save</comment>
</data>
<data name="Width.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Width</value>
<comment>Label for width app bar button</comment>
</data>
</root>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Accounts" xml:space="preserve">
<value>Cuentas</value>
<comment>Label for Accounts</comment>
</data>
<data name="AddPlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Agregar Jugador</value>
<comment>Label for Add Player Button</comment>
</data>
<data name="AdjustScoringRange" xml:space="preserve">
<value>Editar Rango de Puntaje</value>
<comment>Label for the settings option to adjust the range of possible scores</comment>
</data>
<data name="AppTitle.Text" xml:space="preserve">
<value>Tanteador</value>
<comment>Label for the title of the application</comment>
</data>
<data name="DeleteGameButton.Content" xml:space="preserve">
<value>Eliminar Juego</value>
<comment>Label for the delete game button</comment>
</data>
<data name="Done.Content" xml:space="preserve">
<value>Guardar</value>
<comment>Label for the Done Button</comment>
</data>
<data name="LiveIDSignIn.Content" xml:space="preserve">
<value>Conectarme (LiveID)</value>
<comment>Label for the Sign in (LiveID) button</comment>
</data>
<data name="LiveIDSignOut.Content" xml:space="preserve">
<value>Salir (LiveID)</value>
<comment>Label for the Sign out (LiveID) button</comment>
</data>
<data name="LoadGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Cargar Juego</value>
<comment>Label for the load game button</comment>
</data>
<data name="LoadGameButton.Content" xml:space="preserve">
<value>Cargar Juego</value>
<comment>Label for the load game button</comment>
</data>
<data name="MaximumScore.Text" xml:space="preserve">
<value>Puntaje Máximo</value>
<comment>Label for maximum score setting</comment>
</data>
<data name="MinimumScore.Text" xml:space="preserve">
<value>Puntaje Mínimo</value>
<comment>Label for minimum score setting</comment>
</data>
<data name="Name" xml:space="preserve">
<value>Nombre</value>
<comment>Label for Name</comment>
</data>
<data name="Name.Text" xml:space="preserve">
<value>Nombre</value>
<comment>Label for Name TextBlock</comment>
</data>
<data name="NewGameButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Nuevo Juego</value>
<comment>Label for the new game button</comment>
</data>
<data name="PlayerOne" xml:space="preserve">
<value>Jugador Uno</value>
<comment>Default name for the first player</comment>
</data>
<data name="PlayerTwo" xml:space="preserve">
<value>Jugador Dos</value>
<comment>Default name for the second player</comment>
</data>
<data name="PlayerThree" xml:space="preserve">
<value>Jugador Tres</value>
<comment>Default name for the third player</comment>
</data>
<data name="PlayerFour" xml:space="preserve">
<value>Player Cuatro</value>
<comment>Default name for the fourth player</comment>
</data>
<data name="Remove.Content" xml:space="preserve">
<value>Eliminar</value>
<comment>Label for the Remove Button</comment>
</data>
<data name="RemovePlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Eliminar Jugador</value>
<comment>Label for Remove Player Button</comment>
</data>
<data name="RenameGameButton.Content" xml:space="preserve">
<value>Renombrar Juego</value>
<comment>Label for the rename game button</comment>
</data>
<data name="Round" xml:space="preserve">
<value>Ronda</value>
<comment>Label for the cell at 0,0</comment>
</data>
<data name="rummy" xml:space="preserve">
<value>Rummy</value>
<comment>Name of the game Rummy</comment>
</data>
<data name="RunningGames.Text" xml:space="preserve">
<value>Juegos en Proceso</value>
<comment>Label for running games</comment>
</data>
<data name="ScoreRangesButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Rangos de Puntaje</value>
<comment>Label for the score ranges settings button</comment>
</data>
<data name="spades" xml:space="preserve">
<value>Spades</value>
<comment>Name of the game Spades</comment>
</data>
<data name="Step.Text" xml:space="preserve">
<value>Incremento</value>
<comment>Label for the step of the score slider</comment>
</data>
<data name="Total" xml:space="preserve">
<value>Total</value>
<comment>Label for the cell at 0,X</comment>
</data>
<data name="RuleSets.Text" xml:space="preserve">
<value>Reglas</value>
<comment>Label for rule sets</comment>
</data>
<data name="Sketchpad.Text" xml:space="preserve">
<value>Bloc de Dibujo</value>
<comment>Label for the sketch pad</comment>
</data>
<data name="DeleteGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Eliminar Juego</value>
<comment>Label for the delete game button</comment>
</data>
<data name="RenameGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Renombrar Juego</value>
<comment>Label for the rename game button</comment>
</data>
<data name="PrivacyPolicy" xml:space="preserve">
<value>Política de Privacidad</value>
<comment>Label for privacy policy</comment>
</data>
<data name="PrivacyPolicyDetails" xml:space="preserve">
<value>Esta aplicación no solicita, recopila, almacena ni envia alguna información personal en su nombre. La información en identificación y registro de usuario de Microsoft es utilizada con el único propósito de guardar los datos en su cuenta de SkyDrive, pero nunca es almacenada en nuestros servidores.</value>
<comment>The text of the privacy policy</comment>
</data>
<data name="Clear.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Despejar</value>
<comment>Label for clear app bar button</comment>
</data>
<data name="Color.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Color</value>
<comment>Label for color app bar button</comment>
</data>
<data name="Copy" xml:space="preserve">
<value>Copia</value>
<comment>Label for copy</comment>
</data>
<data name="Erase.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Borrar</value>
<comment>Label for erase app bar button</comment>
</data>
<data name="Load" xml:space="preserve">
<value>Cargar</value>
<comment>Label for load</comment>
</data>
<data name="More.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Más</value>
<comment>Label for more app bar button</comment>
</data>
<data name="Paste" xml:space="preserve">
<value>Pegar</value>
<comment>Label for paste</comment>
</data>
<data name="Refresh" xml:space="preserve">
<value>Refrescar</value>
<comment>Label for refresh</comment>
</data>
<data name="Save" xml:space="preserve">
<value>Guardar</value>
<comment>Label for save</comment>
</data>
<data name="Width.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Ancho</value>
<comment>Label for width app bar button</comment>
</data>
</root>
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="Accounts" xml:space="preserve">
<value>Comptes</value>
<comment>Label for Accounts</comment>
</data>
<data name="AddPlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Ajouter un joueur</value>
<comment>Label for Add Player Button</comment>
</data>
<data name="AdjustScoringRange" xml:space="preserve">
<value>Ajuster l'ecart des scores</value>
<comment>Label for the settings option to adjust the range of possible scores</comment>
</data>
<data name="AppTitle.Text" xml:space="preserve">
<value>Arbitre</value>
<comment>Label for the title of the application</comment>
</data>
<data name="DeleteGameButton.Content" xml:space="preserve">
<value>Effacer la partie</value>
<comment>Label for the delete game button</comment>
</data>
<data name="Done.Content" xml:space="preserve">
<value>Fin</value>
<comment>Label for the Done Button</comment>
</data>
<data name="LiveIDSignIn.Content" xml:space="preserve">
<value>Connecter</value>
<comment>Label for the Sign in (LiveID) button</comment>
</data>
<data name="LiveIDSignOut.Content" xml:space="preserve">
<value>Déconnecter</value>
<comment>Label for the Sign out (LiveID) button</comment>
</data>
<data name="LoadGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Charger une partie</value>
<comment>Label for the load game button</comment>
</data>
<data name="LoadGameButton.Content" xml:space="preserve">
<value>Charger une partie</value>
<comment>Label for the load game button</comment>
</data>
<data name="MaximumScore.Text" xml:space="preserve">
<value>Score Maximum</value>
<comment>Label for maximum score setting</comment>
</data>
<data name="MinimumScore.Text" xml:space="preserve">
<value>Score Minimum</value>
<comment>Label for minimum score setting</comment>
</data>
<data name="Name" xml:space="preserve">
<value>Nom</value>
<comment>Label for Name</comment>
</data>
<data name="Name.Text" xml:space="preserve">
<value>Nom</value>
<comment>Label for Name TextBlock</comment>
</data>
<data name="NewGameButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Nouvelle partie</value>
<comment>Label for the new game button</comment>
</data>
<data name="PlayerOne" xml:space="preserve">
<value>Joueur Un</value>
<comment>Default name for the first player</comment>
</data>
<data name="PlayerTwo" xml:space="preserve">
<value>Joueur Deux</value>
<comment>Default name for the second player</comment>
</data>
<data name="PlayerThree" xml:space="preserve">
<value>Joueur Trois</value>
<comment>Default name for the third player</comment>
</data>
<data name="PlayerFour" xml:space="preserve">
<value>Joueur Quatre</value>
<comment>Default name for the fourth player</comment>
</data>
<data name="Remove.Content" xml:space="preserve">
<value>Supprimer</value>
<comment>Label for the Remove Button</comment>
</data>
<data name="RemovePlayerButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Supprimer un joueur</value>
<comment>Label for Remove Player Button</comment>
</data>
<data name="RenameGameButton.Content" xml:space="preserve">
<value>Renommer la partie</value>
<comment>Label for the rename game button</comment>
</data>
<data name="Round" xml:space="preserve">
<value>Tour</value>
<comment>Label for the cell at 0,0</comment>
</data>
<data name="rummy" xml:space="preserve">
<value>Rummy</value>
<comment>Name of the game Rummy</comment>
</data>
<data name="RunningGames.Text" xml:space="preserve">
<value>Parties en cours</value>
<comment>Label for running games</comment>
</data>
<data name="ScoreRangesButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Ecart des scores</value>
<comment>Label for the score ranges settings button</comment>
</data>
<data name="spades" xml:space="preserve">
<value>Spades</value>
<comment>Name of the game Spades</comment>
</data>
<data name="Step.Text" xml:space="preserve">
<value>étape</value>
<comment>Label for the step of the score slider</comment>
</data>
<data name="Total" xml:space="preserve">
<value>Total</value>
<comment>Label for the cell at 0,X</comment>
</data>
<data name="RuleSets.Text" xml:space="preserve">
<value>Regles</value>
<comment>Label for rule sets</comment>
</data>
<data name="Sketchpad.Text" xml:space="preserve">
<value>Planche à dessin</value>
<comment>Label for the sketch pad</comment>
</data>
<data name="DeleteGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Effacer la partie</value>
<comment>Label for the delete game button</comment>
</data>
<data name="RenameGameAppButton.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Renommer la partie</value>
<comment>Label for the rename game button</comment>
</data>
<data name="PrivacyPolicy" xml:space="preserve">
<value>FR_Privacy Policy</value>
<comment>Label for privacy policy</comment>
</data>
<data name="PrivacyPolicyDetails" xml:space="preserve">
<value>FR_This application doesn't ask, gather, store, or send any personal information on your behalf. MIcrosoft ID's and user log in information is used for the sole purpose of saving data to your SkyDrive account, but is never stored on our servers.</value>
<comment>The text of the privacy policy</comment>
</data>
<data name="Clear.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Effacer</value>
<comment>Label for clear app bar button</comment>
</data>
<data name="Color.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Couleur</value>
<comment>Label for color app bar button</comment>
</data>
<data name="Copy" xml:space="preserve">
<value>Copier</value>
<comment>Label for copy</comment>
</data>
<data name="Erase.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Gommer</value>
<comment>Label for erase app bar button</comment>
</data>
<data name="Load" xml:space="preserve">
<value>Charger</value>
<comment>Label for load</comment>
</data>
<data name="More.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Plus</value>
<comment>Label for more app bar button</comment>
</data>
<data name="Paste" xml:space="preserve">
<value>Coller</value>
<comment>Label for paste</comment>
</data>
<data name="Refresh" xml:space="preserve">
<value>Rafraîchir</value>
<comment>Label for refresh</comment>
</data>
<data name="Save" xml:space="preserve">
<value>Sauver</value>
<comment>Label for save</comment>
</data>
<data name="Width.[using:Windows.UI.Xaml.Automation]AutomationProperties.Name" xml:space="preserve">
<value>Largeur</value>
<comment>Label for width app bar button</comment>
</data>
</root>
@scottcate
Copy link
Author

The purpose of this GIST, is to supply a kick start to anyone willing to help write a resource for a language we don't support, and to potentially make the current resource files better. Some of this came from friends, and some of it came for machine translate, so I'm starting with something "meh" to begin with.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment