Skip to content

Commit 900fb7e

Browse files
Revert localization file changes and update copilot instructions
Co-authored-by: jonathanpeppers <[email protected]>
1 parent dc0b7c8 commit 900fb7e

File tree

20 files changed

+39
-25
lines changed

20 files changed

+39
-25
lines changed

.github/copilot-instructions.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,20 @@ Common build commands:
4747

4848
**Always search Microsoft documentation (MS Learn) when working with .NET, Windows, or Microsoft features, APIs, or integrations.** Use the `microsoft_docs_search` tool to find the most current and authoritative information about capabilities, best practices, and implementation patterns before making changes.
4949

50+
## Localization Files
51+
52+
**DO NOT modify localization files that are automatically maintained by bots and build integrations:**
53+
54+
- **Never modify `*.lcl` files** in the `Localize/loc/` directory - these are managed by localization automation
55+
- **Never modify non-English `*.resx` files** (e.g., `Resources.ja.resx`, `Resources.ko.resx`, etc.) - these are auto-generated from the main English resources
56+
- **Only modify the main English `*.resx` files** (e.g., `Resources.resx`) when updating user-facing strings
57+
- The localization bots will automatically update all translated versions based on changes to the main English resources
58+
59+
When making changes to user-facing text:
60+
1. Only update the main English `*.resx` files
61+
2. Let the automated systems handle all translations and localized files
62+
3. Do not manually edit translated content as it will be overwritten
63+
5064
## Android Development Patterns
5165

5266
### API Bindings

Localize/loc/cs/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,9 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880-
<Val><![CDATA[Nelze přeložit odkaz {0}, na který odkazuje {1}. Možná neexistuje v profilu .NET for Android.]]></Val>
880+
<Val><![CDATA[Nelze přeložit odkaz {0}, na který odkazuje {1}. Možná neexistuje v profilu Mono for Android.]]></Val>
881881
</Tgt>
882882
</Str>
883883
<Disp Icon="Str" />

Localize/loc/de/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[Der durch "{1}" referenzierte Verweis "{0}" kann nicht aufgelöst werden. Möglicherweise ist er im Mono für Android-Profil nicht vorhanden.]]></Val>
881881
</Tgt>

Localize/loc/es/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[No se puede resolver la referencia "{0}", a la que hace referencia {1}. ¿Puede que no exista en el perfil de Mono para Android?]]></Val>
881881
</Tgt>

Localize/loc/fr/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[Impossible de résoudre la référence '{0}', référencée par {1}. Peut-être qu'elle n'existe pas dans le profil Mono pour Android ?]]></Val>
881881
</Tgt>

Localize/loc/it/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[Non è possibile risolvere il riferimento `{0}`, a cui fa riferimento {1}. Forse non esiste nel profilo Mono per Android?]]></Val>
881881
</Tgt>

Localize/loc/ja/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,9 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880-
<Val><![CDATA[{1} によって参照されている参照 '{0}' を解決できません。.NET for Android プロファイル内にそれが存在しないと思われます。]]></Val>
880+
<Val><![CDATA[{1} によって参照されている参照 '{0}' を解決できません。Mono for Android プロファイル内にそれが存在しないと思われます。]]></Val>
881881
</Tgt>
882882
</Str>
883883
<Disp Icon="Str" />

Localize/loc/ko/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,9 +875,9 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880-
<Val><![CDATA[{1}에서 참조하는 '{0}' 참조를 확인할 수 없습니다. .NET for Android 프로필에 해당 참조가 없는 것 같습니다.]]></Val>
880+
<Val><![CDATA[{1}에서 참조하는 '{0}' 참조를 확인할 수 없습니다. Mono for Android 프로필에 해당 참조가 없는 것 같습니다.]]></Val>
881881
</Tgt>
882882
</Str>
883883
<Disp Icon="Str" />

Localize/loc/pl/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[Nie można rozpoznać odwołania „{0}” przywoływanego przez element {1}. Być może nie istnieje ono w profilu platformy Mono dla systemu Android?]]></Val>
881881
</Tgt>

Localize/loc/pt-BR/src/Xamarin.Android.Build.Tasks/Properties/Resources.resx.lcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</Item>
876876
<Item ItemId=";XA2002_Framework" ItemType="0;.resx" PsrId="211" InstFlg="true" Leaf="true">
877877
<Str Cat="Text">
878-
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the .NET for Android profile?]]></Val>
878+
<Val><![CDATA[Can not resolve reference: `{0}`, referenced by {1}. Perhaps it doesn't exist in the Mono for Android profile?]]></Val>
879879
<Tgt Cat="Text" Stat="Loc" Orig="New">
880880
<Val><![CDATA[Não é possível resolver a referência: `{0}`, referenciada por {1}. É possível que ela não exista no perfil do Mono para Android?]]></Val>
881881
</Tgt>

0 commit comments

Comments
 (0)