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
Translate the following resource for an Android app provided after the dashed line to {target_language}.
24
+
Follow the guidelines below closely.
25
25
26
26
Guidelines:
27
27
1. **Purpose & Context:**
28
-
The translation is for an Android application's UI. Use terminology and phrasing consistent with software interfaces.
28
+
The translation is for an Android application's UI. Use terminology and phrasing consistent with android applications. Do not change the meaning of the text.
29
29
30
30
2. **Formatting & Structure:**
31
31
- Preserve all placeholders (e.g., %d, %s, %1$s) exactly as they appear.
@@ -51,7 +51,7 @@
51
51
52
52
6. **Output Requirements:**
53
53
Return ONLY the final translated text as a single plain line, preserving any required formatting from the source.
54
-
----------
54
+
55
55
"""
56
56
57
57
PLURAL_GUIDELINES_ADDITION="""\
@@ -62,13 +62,16 @@
62
62
63
63
7. **Output Requirements:**
64
64
Return ONLY a JSON object containing the translated plural mapping as a single plain line. Do not include any markdown formatting, code blocks, or additional commentary, except if any such formatting is already present in the source string provided.
65
-
----------
66
65
"""
67
66
68
67
SYSTEM_MESSAGE_TEMPLATE="""\
69
68
You are a software engineer translating textual UI elements within a software application from English into {target_language} while keeping technical terms in English.
70
69
"""
71
70
71
+
TRANSLATE_FINAL_TEXT="""\
72
+
Translate the following resource for an Android app provided after the dashed line to the following values-{target_language}/string.xml language: {target_language}
0 commit comments