Custom Translator上传TMX文档后丢失无法创建模型问题咨询
Based on my experience working with Microsoft Custom Translator, here's a breakdown of your issues and actionable fixes to get your model creation back on track:
Core Root Cause: Language Region Mismatch
This is almost certainly the main issue you're facing. Custom Translator enforces strict language code matching between your project's language pair and the documents you upload.
Your project is set to English (United Kingdom) - Italian, but you mentioned you can only select "English" (without region) when uploading your TMX. Since your TMX uses EN-GB as the source language, uploading it under the generic "English" (EN) tag creates a mismatch. The system will associate the document with a generic English-Italian language pair, not your region-specific project—hence why it shows up in upload history but isn't visible in your project's available documents.
Step-by-Step Fixes for Language Matching
Verify your TMX file's source language code
Open your TMX in a text editor and check thesrclangattribute in the root<tmx>tag. It should explicitly been-GB(note: most systems accept lowercase codes likeen-gbtoo, but stick to the format matching your project).Delete the mismatched document
Go to your Custom Translator dashboard's Documents list, find the TMX you uploaded earlier, and delete it. This clears the incorrectly associated file from the system.Re-upload with the correct region-specific language
When re-uploading your TMX:- Ensure you're inside your English (UK) - Italian project first (navigate to the project before starting the upload).
- In the upload interface, look closely for the English (United Kingdom) option—sometimes region-specific languages are nested under a dropdown or require scrolling past generic options. If it's still missing:
- Clear your browser cache/cookies and try again (UI glitches can hide region options).
- Switch to a different browser (Chrome, Edge, Firefox) to rule out browser-specific rendering issues.
Double-check project language pair
Confirm your project was actually created with English (United Kingdom) - Italian (not generic English-Italian). If you accidentally selected the generic pair, you'll need to create a new project with the correct region-specific languages—project language pairs cannot be edited after creation.
Troubleshooting the Missing Checkboxes
The checkboxes you see in the quickstart examples only appear for documents that:
- Are successfully processed (check upload history for any "Failed" statuses—if your TMX failed, click the status to view error details like invalid format or language mismatches).
- Exactly match your project's language pair.
Once you fix the language mismatch and re-upload successfully, the checkboxes should automatically appear next to your document in the project's document list. If they still don't show:
- Refresh the project page multiple times, or log out and log back into your account to clear UI caching.
- Ensure the document isn't still in "Processing" status (wait a few minutes—TMX processing time depends on file size).
Additional Troubleshooting Steps
- Validate your TMX format: Custom Translator has strict TMX 1.4b or 2.0 format requirements. Use a local TMX validator tool to check for syntax errors, missing tags, or mismatched source/target segments.
- Check for duplicate language codes: Ensure your TMX doesn't mix region-specific and generic codes (e.g.,
en-GBin the source anditfor Italian is fine, but mixingenanden-GBwill cause issues).
内容的提问来源于stack exchange,提问作者user12242372

