vmware / vmware/singleton

[BUG] [SOURCE COLLECTION] during source collection, both i18n & l10n write same translation bundle when translations are in central place

Open
#1,311 0 comments 0 reactions 1 assignee View on GitHub

@tigershi is already working on this.

Since Sep 23, 2021.

area/java-service kind/bug
Dominant language
Java
Stars
72
Forks
69
Avg merge
23h 32m
Merged PRs (30d)
4

Description

Describe the bug
Preconditions:
Translation bundle are in stored in central place(like AWS S3), so i18n service will get translation from it and l10n service will write English source to it.

Description:
Based on precondition, in current process, when customer call source collection API, l10n service will write English source to translation bundle. But at that time, i18n service does not know about the new source collected. So, l10n service have to call i18n service to write same source to translation bundle again, the purpose is just to clean i18n service local cache.

Expected behavior
Write source twice is wasted for both S3 cost and Singleton instance resource, specially when source content are huge.
It is better for l10n to send a small call to i18n service to clean cache.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.