Closed Bug 1012522 Opened 10 years ago Closed 10 months ago

Split TranslationItem in chunks if necessary

Categories

(Firefox :: Translations, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: Felipe, Unassigned)

References

Details

A translation request is composed of an array of various TranslationItems, and the sum of all items' data can't go over MAX_REQUEST_SIZE.

When the Nth item is being stringified, if it would cause the current request to go over MAX_REQUEST_SIZE, that request is finalized and a new is started. However, a significantly large TranslationItem could be by itself bigger than MAX_REQUEST_SIZE, making it not possible to translate it. In this case, the item itself needs to be split.
Flags: firefox-backlog+
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 10 months ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.