How to localize

May 19, 2013 at 12:46 PM
Sorry if this seems impatient but I have never had the need to localize an application myself.

I need the control to be in german. I've created a NPR.de.rsx file. What do I need to do now?
Do i need to recompile? If so, do i just recompile with the NPR.de.rsx file present? If not (i.e. more steps are involved) could I just replace the NPR.rsx file and recompile?

Thanks a lot!
May 19, 2013 at 1:02 PM
Edited May 19, 2013 at 1:03 PM
Sorry for being so impatient. Recompiled it with the NPR.rsx replaced, that worked like a charm.
Everything else that was just beyond my grasp of localization in general... maybe next project :)
Here's my file, use it if you want (I'm not a professional translator though :))

Thanks a lot!
<?xml version="1.0" encoding="utf-8"?>
<root>
  <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="Auto_State_No_Uid" xml:space="preserve">
    <value>To use State Persistence feature, the control should have a Unique Identifier. Which is set by giving a Name to the control, since PersistId is deprecated and may be removed in future releases of dot net.</value>
  </data>
  <data name="Error_MinimizeHelperOwner" xml:space="preserve">
    <value>Owner should implement IMinimizeHelped</value>
  </data>
  <data name="NavigationPaneExpander_BarToolTip" xml:space="preserve">
    <value>Klicken, um aufzuklappen</value>
  </data>
  <data name="NavigationPaneExpander_ExpandToolTip" xml:space="preserve">
    <value>Expander aufklappen</value>
  </data>
  <data name="NavigationPaneExpander_MinimizeToolTip" xml:space="preserve">
    <value>Expander minimieren</value>
  </data>
  <data name="NavigationPaneExpander_Title" xml:space="preserve">
    <value>Titel</value>
  </data>
  <data name="NavigationPane_AddRemoveCommand" xml:space="preserve">
    <value>Befehle _hinzufügen oder entfernen</value>
  </data>
  <data name="NavigationPane_BarTitle" xml:space="preserve">
    <value>Navigationsbereich</value>
  </data>
  <data name="NavigationPane_BarTooltip" xml:space="preserve">
    <value>Klicken, um den Navigationsbereich aufzuklappen</value>
  </data>
  <data name="NavigationPane_ConfigureButtonToolTip" xml:space="preserve">
    <value>Befehle konfigurieren</value>
  </data>
  <data name="NavigationPane_ExpandToolTip" xml:space="preserve">
    <value>Navigationsbereich aufklappen</value>
  </data>
  <data name="NavigationPane_FewerCommand" xml:space="preserve">
    <value>_Weniger Befehle anzeigen</value>
  </data>
  <data name="NavigationPane_MinimizeToolTip" xml:space="preserve">
    <value>Navigationsbereich ausblenden</value>
  </data>
  <data name="NavigationPane_MoreCommand" xml:space="preserve">
    <value>Weitere Befehle anzeigen</value>
  </data>
  <data name="NavigationPane_NewWindowCommand" xml:space="preserve">
    <value>In neuem Fenster öffnen</value>
  </data>
  <data name="NavigationPane_OptionsCommand" xml:space="preserve">
    <value>Optionen des Navigationsbereichs...</value>
  </data>
  <data name="String_Cancel" xml:space="preserve">
    <value>Abbrechen</value>
  </data>
  <data name="String_MoveDown" xml:space="preserve">
    <value>Nach unten</value>
  </data>
  <data name="String_MoveUp" xml:space="preserve">
    <value>Nach oben</value>
  </data>
  <data name="String_Ok" xml:space="preserve">
    <value>OK</value>
  </data>
  <data name="String_OptionsDescription" xml:space="preserve">
    <value>Befehle in dieser Reihenfolge anzeigen</value>
  </data>
  <data name="String_OptionsTitle" xml:space="preserve">
    <value>Einstellungen des Navigationsbereichs</value>
  </data>
  <data name="String_Reset" xml:space="preserve">
    <value>Zurücksetzen</value>
  </data>
</root>