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
You are an expert web localization AI. Given the following HTML file, extract all translatable content (titles, meta tags, headers, buttons, video/image alt/title, labels, aria-label, and all aria-* attributes) and generate a JSON object in the following format:
81
+
You are an expert web localization AI. Given the following HTML file, extract all translatable content (titles, meta tags, headers, buttons, video/image alt/title, labels, aria-label, all aria-* attributes, and placeholders) and generate a JSON object in the following format:
82
82
83
83
{
84
84
"translations": [
@@ -100,7 +100,8 @@ You are an expert web localization AI. Given the following HTML file, extract al
100
100
"label": { ${langList} },
101
101
"aria-label": { ${langList} },
102
102
"aria-*": { ${langList} },
103
-
"title": { ${langList} }
103
+
"title": { ${langList} },
104
+
"placeholder": { ${langList} }
104
105
}
105
106
},
106
107
// Example for structured data translation:
@@ -117,7 +118,7 @@ You are an expert web localization AI. Given the following HTML file, extract al
117
118
]
118
119
}
119
120
120
-
Do not add any extra keys or key names not shown in this structure. Only use the keys: name, directory, path, content-type, translations, selector, innerHTML, attributes, alt, label, aria-label, aria-*, title, and the language codes (${languages.join(
121
+
Do not add any extra keys or key names not shown in this structure. Only use the keys: name, directory, path, content-type, translations, selector, innerHTML, attributes, alt, label, aria-label, aria-*, title, placeholder, and the language codes (${languages.join(
0 commit comments