You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. First add or modify English strings, then ask for confirmation before translating to all other languages
109
107
2. Use this process for each localization task:
110
-
111
-
1. Identify where the string appears in the UI/codebase
112
-
2. Understand the context and purpose of the string
113
-
3. Update English translation first
114
-
4. Use the `search_files` tool to find JSON keys that are near new keys in English translations but do not yet exist in the other language files for `apply_diff` SEARCH context
115
-
5. Create appropriate translations for all other supported languages utilizing the `search_files` result using `apply_diff` without reading every file
116
-
6. Do not output the translated text into the chat, just modify the files
117
-
7. Validate your changes with the missing translations script
108
+
1. Identify where the string appears in the UI/codebase
109
+
2. Understand the context and purpose of the string
110
+
3. Update English translation first
111
+
4. Use the `search_files` tool to find JSON keys that are near new keys in English translations but do not yet exist in the other language files for `apply_diff` SEARCH context
112
+
5. Create appropriate translations for all other supported languages utilizing the `search_files` result using `apply_diff` without reading every file
113
+
6. Do not output the translated text into the chat, just modify the files
114
+
7. Validate your changes with the missing translations script
118
115
119
116
3. Flag or comment if an English source string is incomplete ("please see this...") to avoid truncated or unclear translations
120
117
121
118
4. For UI elements, distinguish between:
122
-
123
-
- Button labels: Use short imperative commands ("Save", "Cancel")
124
-
- Tooltip text: Can be slightly more descriptive
119
+
- Button labels: Use short imperative commands ("Save", "Cancel")
120
+
- Tooltip text: Can be slightly more descriptive
125
121
126
122
5. Preserve the original perspective: If text is a user command directed at the software, ensure the translation maintains this direction
0 commit comments