RimWorld

RimWorld

Auto Translation
301 Comments
黑猫 10 hours ago 
How can I delete the translation of a specific mod without also deleting the translations of other mods?
Permanency Aug 31 @ 3:05am 
너무좋아 :steamhappy:
Azazellz Aug 30 @ 6:16pm 
Is it possible (in the case of LLM translations) to first collect the translation cache, and then send it in batches, for example, 1000-5000 tokens or so?
This should speed up the process significantly, and GPT or Gemini are smart enough not to translate the wrapper's xml tags.

P.s. GPT and DeepSeek works for me, but not Gemini, for some reason.
TallRAZ Aug 29 @ 1:25am 
Chat GPT and Gemini API don`t works, game is crashing, work only Google translate and DeepL
xc112 Aug 25 @ 7:04am 
너무너무 잘 쓰고 있습니다
Bezum4eg Aug 25 @ 5:47am 
I've inserted the gptchat API, but the translation isn't happening. What am I doing wrong?
thaumostatic Aug 24 @ 10:03pm 
403가 뜨는데 어떻게 해결해야 하나요
Superb_noob Aug 21 @ 12:30am 
Please add traditional chinese support to DeepL
doctor who? Aug 17 @ 11:36pm 
I just can't undestand, why online goodle translate have much more better quality then mod one? :captainsinful:
doctor who? Aug 17 @ 11:33pm 
Hm...... i tryed rus glitterworld translation........ damn, "Auto inferno turret" (this one, mech-tech) translated litterly like "АВТО ДОЛЖЕНА ТУРРЕТ" or on english "AUTO MUSTS TOURETTE". С
csgouee Aug 14 @ 7:47pm 
감사합니다
lenya_bulatov Aug 12 @ 1:41am 
God bless you! More money and a good mistress!
Welchs Aug 10 @ 6:11am 
Q&A에 써두신 것처럼 번역기 과정에서 이슈가 발생해서 번역기가 번역을 해야하는 요소를 인식하지 못하고 번역 기능이 작동하지 않았던거 같아요 모드지우고 림월드 실행했다가 다시 구독해서 설치하니 해결됐습니다. 좋은 만들어서 주셔서 감사해요 :Y::A::Y::happypolice:
Welchs Aug 9 @ 6:32am 
이전엔 자동번역이 되었던 요소가 어느순간부터 번역이 안돼요 무슨 문제일까요

재시작도 여러번 해보고 지웠다가도 깔아보고 했는데 안돼네요
Choux creem door Aug 8 @ 3:12pm 
번역을 하지 않고 번역파일을 출력할 수 있나요? 로컬에서 번역기 돌려볼까 합니다.
Goust Aug 8 @ 3:11pm 
It translated my small mech gestator to "me strings"
Misterdino Prime Aug 6 @ 1:00pm 
is normal aside of some icons of construct put [TEST] ?
tuordiel Aug 2 @ 4:45pm 
@SeoHyeon For me personally, translating into a language other than the main language of the game will help distinguish the content of mods from vanilla
valya Aug 2 @ 7:51am 
The thing is that I want it to translate into english, not russian, my game is in russian, I just want to know if it is possible to change the translated language to something other than the in-game one
SeoHyeon  [author] Aug 1 @ 8:08pm 
@Tidus
This mod already takes such cases into consideration. Google and DeepL handle such cases by wrapping the relevant part or treating it as a placeholder. In the case of AI models, adding the relevant content to the prompt will handle it well. However, due to the limitations of translation engines, such cases are not handled well in reality.

@valya
It is difficult to understand why the target language may be different from your main language.
Tidus Aug 1 @ 2:39pm 
Good morning, good afternoon, or good evening. I would like to know if there is a way to protect/prevent the translation of texts within {}. I ask because in some cases where there is text, it is translating them and thus generating an error when displaying the translation.
Example:
pt-br translation
{Jornada de 0}
and it should be like this
{0} Jornada
valya Aug 1 @ 8:20am 
Hi, thank you for this wonderful mod, I'd to ask, is there a possible way to change target language to translate? Right now, mod is translating from whatever language to russian (my ingame language), can I change translated language to english?
And how I can turn off auto tranlastion for new mods?
Thanks!
SeoHyeon  [author] Aug 1 @ 6:53am 
@HongZZ
You can still use Grok by using ChatGPT and change the API entrypoint: https://api.x.ai/v1/
because they uses same api form.


And now, I would like to introduce a new update.
This update was contributed by @StartaBafras. Thank you!
- Ollama support
- Rate limit setting

I've tested in my own ollama server, Gemma3:27b and it works well and fast
Sarasa Cascadia Jul 28 @ 5:59pm 
Does it support concurrency? Otherwise, using AI models for translation is too slow.
Sarasa Cascadia Jul 28 @ 5:04pm 
能支持并发吗,不然用ai模型翻译太慢了
[K]A Jul 27 @ 8:23am 
DeepL 써서 돌렸는데 403 오류난디
HongZZ Jul 21 @ 11:07pm 
Hope for increased support for Grok
ICocolate Jul 16 @ 8:17am 
absolutely goated mod!
SeoHyeon  [author] Jul 14 @ 7:41am 
Additional notice: I'm currently (and maybe until this year) extremely busy with my academic and professional life. I truly appreciate all your feedback, but please understand that I may not be able to handle all of it. :steamsad:
SeoHyeon  [author] Jul 14 @ 7:38am 
@fuhao Ah, I see that DeepL has added a rate limit that wasn't there before. That's why the DeepL translation wasn't working properly. I've implemented an exponential backoff restart feature, and I've confirmed it's working quite well now.

Additionally, I've added a retranslation feature. In the mod toggle panel, when a mod's translation is turned off, a new button appears. Clicking this button will restart the translation process for just that specific mod.

Warning: These features are still quite unstable and likely to have many bugs. Please use with caution. And only 1.6 affects this updates.
fuhao Jul 14 @ 3:39am 
For those experiencing issues with DEEPL translation:
I would like to express my gratitude to the user with the nickname @qvp-FAVE for resolving my issue. In order for the Deepl API translation to work, you need to go to the folder SteamLibrary\steamapps\workshop\content\294100\3278005460\Source\AutoTranslation\Translators (in general, look for the folder with this mod on your hard drive).
Next, open the Translator_DeepL_Pro.cs or Translator_DeepL.cs file in an editor (depending on which one you are going to use).

Then remove the “$” sign before the text “ https://api.deepl.com/v2/translate”; or “ https://api-free.deepl.com/v2/translate”;

Was: protected virtual string url => $“ https://api-free.deepl.com/v2/translate”;
Now: protected virtual string url => “ https://api-free.deepl.com/v2/translate”;

It's that simple. After that, save the file, restart the game, and now you can specify the Deepl API and the translation will start working.
fuhao Jul 14 @ 3:20am 
@SeoHyeon Hello. I am experiencing an issue with Deepl Pro. First, I would like to thank you for the excellent mod. It works perfectly with all translators except Deepl. I have a working API key that definitely works (I have verified it), but when I try to enter it in the game, I receive the error message "Test failed. Maybe the API key is restricted," but it's clearly not restricted. Please help me fix this problem, because the free Google translator isn't very accurate, ha ha ha.
비비빋 Jul 14 @ 2:59am 
I LOVE
马子皓 Jul 13 @ 2:48am 
非常棒!!支持本地ollama支持吗? 有一个项目跟你这个比较接近,是支持ollama的,可以参考一下。 https://github.com/bbepis/XUnity.AutoTranslator
TOLGRIM Jul 11 @ 12:48pm 
i love you :rage: :rage: :rage:
Tonomi Jul 11 @ 9:40am 
Hi, greato mod! Can you please add openrouter api? It have quite a lot selection of models, also grok which can do some sort of check before translation. Yes, it can be expensive, but it can improve quality a lot.
LoydiN Jul 5 @ 4:24am 
Hello, will the translated words be transferred to version 1.6? Or will I need to translate everything again?
Arden Jun 30 @ 8:46am 
모드를 개별로 (재)번역을 기능이 있으면 좋을 것 같아요
AI 번역의 경우 묶어서 요청할 수 있는 기능이 있으면 좋을 것 같습니다. 분당 요청 수 제한으로 인한 속도 제한이 개선될 수 있을 것으로 보입니다.
파일을 통으로 요청 기능도 있으면 좋겠습니다.
Chat GPT 번역의 경우, 특정 포맷을 요구하는 모델은 지원되지 않는 것 같습니다.
감사합니다.
Zibrolta16 Jun 30 @ 2:14am 
Hello, it seems for me that using DeepSeek translator does the translation but doesn't cache anything unlike Google translations. I've added my DeepSeek API key and chose 1 mod to translate - Google gets cached and DeepSeek doesn't.
Zeccky Jun 27 @ 10:00am 
When a new mod is added, it doesn't translate everything. If you delete the cache, it will translate half of the mods and not the rest
Monbland Jun 22 @ 1:31am 
Is it possible to add the Google.ru translator option? They have a significant difference in translation quality.
STELLA Jun 21 @ 11:43pm 
번역이 한번 다 끝나도 재시작할때마다 번역 다시하는게 혹시 정상인가요? 버그라면 무슨 버그인지 감도 안잡혀서...
SeoHyeon  [author] Jun 11 @ 8:23pm 
Updated for 1.6
- fixed DeepL issue
Санта Jun 2 @ 4:32am 
how fix it?
Санта Jun 2 @ 4:32am 
Could not resolve symbol "chemical_label" for string "Генетическая {chemical_label} зависимость".
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.Log:ErrorOnce (string,int)
Verse.GrammarResolverSimple:TryResolveInner (Verse.TaggedString,int,System.Text.StringBuilder,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<object>,bool)
Verse.GrammarResolverSimple:Formatted (Verse.TaggedString,System.Collections.Generic.List`1<string>,System.Collections.Generic.List`1<object>)
Verse.GrammarResolverSimpleStringExtensions:Formatted (string,Verse.NamedArgument)
Verse.GrammarResolverSimpleStringExtensions:Formatted (Verse.TaggedString,Verse.NamedArgument)
Verse.TranslatorFormattedStringExtensions:Translate (string,Verse.NamedArgument)
RimWorld.GeneDefGenerator:DependencyThoughtDef (RimWorld.ChemicalDef,bool)
...
Санта Jun 2 @ 4:32am 
...
RimWorld.GeneDefGenerator/<ImpliedThoughtDefs>d__1:MoveNext ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.DefGenerator.GenerateImpliedDefs_PreResolve_Patch2 (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__6_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
put_away May 30 @ 8:54pm 
아니 이런 갓모드가 있었다니???
엑스트라1 May 30 @ 9:40am 
+ 하나의 모드에서 몇개는 제대로 됐지만 몇개는 찐빠가 나서 이것도 수정이 필요 합니다
엑스트라1 May 30 @ 5:48am 
번역이 끝나고 나서 일부 모드에 에러가 생겨서 번역을 다시 해야 하는데 그 모드만 다시 번역하게 만들 수는 없나요?
蟹ミソアイス May 30 @ 4:05am 
I get a message that the API limit has been reached and I cannot translate DeepL.
I am using DeepL Pro so that shouldn't be the case but there may have been a change on the site.
The following was left in the error log.
APIの上限に達したとのメッセージが出てDeepLの翻訳ができません。
DeepL Proを使用しているのでそのはずはないのですがサイト側で変更があったのかもしれません。
エラーログには下記のものが残っていました。

<color=#34e2eb>AutoTranslation</color>: DeepL (Pro), translate failed. reason: System.Exception|Web error: HTTP/1.1 403 Forbidden