Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Terminologies / Glossaries #18

Open
Bluefissure opened this issue Oct 25, 2021 · 8 comments
Open

[Enhancement] Terminologies / Glossaries #18

Bluefissure opened this issue Oct 25, 2021 · 8 comments
Assignees
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed

Comments

@Bluefissure
Copy link
Contributor

There are terminologies in the game including place names, person names, country names, etc.

For example, in Chinese:

Alisaie -> 艾丽莎(Google Translate)  -- 阿莉塞(CN client)
Forum -> 论坛(Google Translate)  -- 哲学家议会(Forum of Sharlayan, CN client)

The translation API cannot detect them nor correctly translate them, so I wonder whether we can provide a dictionary of such terminologies before or after the translation API?

@Bluefissure Bluefissure changed the title [Enhancement] Terminologies [Enhancement] Terminologies / Glossaries Oct 25, 2021
@Bluefissure
Copy link
Contributor Author

Bluefissure commented Oct 25, 2021

I think a regex match & replacement can be a good start.

Other than that, https://www.deepl.com/sv/blog/announcing-glossary-support-for-deepl-api seems to be an attempt but only works for limited languages.

@Bluefissure
Copy link
Contributor Author

image
replace the text before calling the translation API seems to work fine.

@lokinmodar
Copy link
Owner

Nice suggestion about the glossary. I think we can compile some stuff if not yet available somewhere...

@lokinmodar lokinmodar added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Oct 25, 2021
@Bluefissure
Copy link
Contributor Author

Yeah, I think it's easier to implement an interface that reads the glossary CSV file and then replaces the terms. The glossary can be user-generated and pre-defined by a default one, which could be from a collaboration contribution from players of different languages.

@lokinmodar
Copy link
Owner

My idea is to gather all generated translations per language and upload them to a private spreadsheet so ppl can revise and contribute and then the plugin updates the local db with the correct stuff

@Bluefissure
Copy link
Contributor Author

I think it'll be complicated to gather all of the translations, let alone contribute to editing every wrong entry.
And for the glossary, there are already several data-mining repos that can be used to generate the terms (from the exported csv files).
There's a https://strings.wakingsands.com/ which compares Chinese/English/Japanese text from their clients, which can be a help.

@Nikslg
Copy link

Nikslg commented Oct 30, 2021

I would like to add, that ocasionally in Russian translation, it decided to translate Names.. in a quite perticular way.
For some reasons "Haurchefant" was translated into "Elephant-shark" in Russian language.
image

@lokinmodar
Copy link
Owner

I would like to add, that ocasionally in Russian translation, it decided to translate Names.. in a quite perticular way. For some reasons "Haurchefant" was translated into "Elephant-shark" in Russian language. image

Lol. It is something i noticed in Portuguese also. I was thinking of setting the language detection routine to always base itself in the client language instead of trying to guess the name language. For some names this could cause issues like the one you had

@lokinmodar lokinmodar self-assigned this Dec 19, 2021
@lokinmodar lokinmodar moved this to In Progress in Echoglossian Dec 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed
Projects
No open projects
Status: In Progress
Development

No branches or pull requests

3 participants