crewAI icon indicating copy to clipboard operation
crewAI copied to clipboard

[FEATURE] different launguage mix togather made reading is diffcult, Can we change the i18N file globally?

Open xwEric opened this issue 1 year ago • 2 comments

Feature Area

Core functionality

Is your feature request related to a an existing bug? Please link it here.

noticed we have a i18N fileen.json in translation directory, can we provider a interface for dev to change it?

Image

Describe the solution you'd like

for example, provide an interface or a env variable that can be set by os.environ["i18n_zh"] = "<zh file path>"

Describe alternatives you've considered

No response

Additional context

No response

Willingness to Contribute

Yes, I'd be happy to submit a pull request

xwEric avatar Aug 03 '25 08:08 xwEric

there is cureent effect is we use chinese prompt + english(filled by crewai framework), which made user confused or hard to ready effeciently Image

xwEric avatar Aug 03 '25 08:08 xwEric

hey @xwSurfer you can currently set your prompt file path while defining a Crew, check out here

Crew(
  ...,
  prompt_file='your/path/file.json'
)

lucasgomide avatar Aug 05 '25 14:08 lucasgomide