<object key="searchOptionGroup">
<label key="label" localizationKey="server.SimpleSearch_xml.useTheseSearchOptions">
<resource>Use these search options:</resource>
<resource locale="en_US">Use these search options:</resource>
<resource locale="fr_FR">employez ces options pour faire une recherche:</resource>
</label>
...
ヘッダーに含まれる 1 つ以上のロケールに対するリソース・バンドルが存在しない場合、アプリケーションはブラウザーのロケール・ヘッダーで指定された順序で、XML 内で一致するロケールを見つけようとします。一致するものがない場合、アプリケーションはデフォルトにより英語の文字列に設定します。英語の文字列は、ロケールが指定されていないリソース・エレメントに対して設定されます。上記の XML では、アプリケーションは文字列「Use these search options:」を使用することになります。
一致が見つからない場合、アプリケーションは localizationKey 属性の値を使用して、リソース・バンドルからラベルを取得します。 上記の XML で、クライアント・ロケールが「es-us」(スペイン系アメリカ) ならば、アプリケーションは「 server.SimpleSearch_xml.useTheseSearchOptions」値を使用して、スペイン系アメリカのリソース・バンドルのラベルを検索します。
<object key="configurableLabels" version="4.0.0">
<label key="objectStore" localizationKey="server.ConfigurableLabels_xml.ObjectStore">
<resource>Object Store</resource>
<resource locale="en_US">Library</resource>
resource locale="fr_FR">Bibliothèque</resource>
</label>
<object key="configurableLabels" version="4.0.0">
<label key="objectStore" localizationKey="server.ConfigurableLabels_xml.ObjectStore">
<resource>Object Store</resource>
<resource locale="en_US">Library</resource>
<resource locale="fr_FR">Bibliothèque</resource>
</label>
<object key="configurableLabels" version="4.0.0">
<label key="objectStore" localizationKey="server.ConfigurableLabels_xml.ObjectStore">
<resource>Object Store</resource>
<resource locale="en_US">Library</resource>
</label>
<object key="configurableLabels" version="4.0.0">
<label key="objectStore" localizationKey="server.ConfigurableLabels_xml.ObjectStore">
<resource>Object Store</resource>
<resource locale="en_US">Library</resource>
</label>