Skip to content

add french (fr-FR) translation#2308

Merged
hayescode merged 8 commits intoChainlit:mainfrom
Starland9:main
Aug 1, 2025
Merged

add french (fr-FR) translation#2308
hayescode merged 8 commits intoChainlit:mainfrom
Starland9:main

Conversation

@Starland9
Copy link
Contributor

@Starland9 Starland9 commented Jul 22, 2025

Feat: Add fr-FR translation and audioop-lts dependency

Description:

This pull request introduces two main changes:

  1. Added French (fr-FR) translations:

    • A new fr-FR.json file has been added to backend/chainlit/translations/ to provide French language support for the user interface. This improves the user experience for French-speaking users.
  2. Added audioop-lts dependency:

    • The audioop-lts package has been added to backend/pyproject.toml. This is a long-term support version of the audioop module, which is necessary for compatibility with Python 3.13 and beyond, as the original audioop module is being removed.

These changes enhance the internationalization of the application and ensure future compatibility with upcoming Python versions.

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Jul 22, 2025
Adds `audioop-lts` as a dependency, specifying the version and Python compatibility.
hayescode
hayescode previously approved these changes Jul 22, 2025
@hayescode hayescode self-requested a review July 22, 2025 23:33
@hayescode hayescode dismissed their stale review July 22, 2025 23:33

Failing CI

@hayescode
Copy link
Contributor

@Starland9 please fix CI

add version code of audioop-lst
Copy link
Contributor Author

@Starland9 Starland9 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. I put the correct version code. Sorry, I forgot to do it before pushing.

Copy link
Contributor

@hayescode hayescode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Starland9 since you added the audioop-lts you'll need to run poetry lock and push the updated lock file.

@asvishnyakov
Copy link
Member

asvishnyakov commented Jul 23, 2025

@Starland9 Can you explain why we need directly depend in this and how it related to translations? I don't see any direct usage of it in Chainlit source code @hayescode We already have it in dependencies via discord package, which belongs to tests dependencies group

@hayescode
Copy link
Contributor

These 2 things are totally unrelated. Should be separate PRs but it's such a small change I'll allow it this time

@hayescode
Copy link
Contributor

@Starland9 update the poetry.lock file to pass the CI

@hayescode
Copy link
Contributor

@Starland9 i added audioop-lts to main and updated the poetry lock, so this PR will only be for the FR translation.

@hayescode hayescode added this pull request to the merge queue Aug 1, 2025
Merged via the queue into Chainlit:main with commit a54f2ab Aug 1, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants