Skip to content

French translation #267

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

Merged
merged 16 commits into from
Jul 9, 2025
Merged

Conversation

Kurea
Copy link
Contributor

@Kurea Kurea commented Jul 9, 2025

Added french translation (and fix some missing part for Portuguese)

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Summary of Changes

Hello @Kurea, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily introduces a new French translation for the project's documentation, significantly expanding its accessibility to French-speaking users. It involves adding a new, fully translated README file and making necessary updates across the codebase to support French as a first-class language for documentation generation and display. Additionally, a minor but important fix was implemented to correct a missing link to the Brazilian Portuguese documentation within the Traditional Chinese README.

Highlights

  • New French Translation: A complete French translation of the project's main README has been added as README.fr.md, providing comprehensive documentation in a new language.
  • Language Integration: French has been integrated across the application. This includes updating language selection links in existing READMEs, adding French to backend configuration files (api/config.py, api/config/lang.json), and modifying frontend UI logic (src/app/[owner]/[repo]/page.tsx, src/app/[owner]/[repo]/workshop/page.tsx, src/contexts/LanguageContext.tsx) to correctly recognize and utilize French for content generation and display.
  • Portuguese Link Correction: The Traditional Chinese README (README.zh-tw.md) has been updated to include the previously missing link to the Brazilian Portuguese README, ensuring all language options are correctly presented.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in issue comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist is currently in preview and may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments to provide feedback.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request adds French translation to the project, including a new README.fr.md, UI translation file src/messages/fr.json, and updates to configuration and code to support the new language. It also fixes a missing link for Portuguese in some READMEs.

The changes look good overall and cover all the necessary parts for adding a new language. I've found several typos and some untranslated text in the new README.fr.md file. I've left detailed comments with suggestions for these. Additionally, the new JSON translation file is missing a final newline character.

Please address these points to improve the quality of the translation and documentation.

Kurea and others added 14 commits July 9, 2025 14:06
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Copy link
Contributor Author

@Kurea Kurea left a comment

Choose a reason for hiding this comment

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

updated with suggestions from gemini

@sng-asyncfunc sng-asyncfunc merged commit 5ab6bf9 into AsyncFuncAI:main Jul 9, 2025
3 checks passed
nuts-has-been-taken added a commit to nuts-has-been-taken/deepwiki-open that referenced this pull request Jul 10, 2025
commit 5ab6bf9
Author: Kurea <la_trollette@hotmail.com>
Date:   Thu Jul 10 01:04:16 2025 +0200

    French translation (AsyncFuncAI#267)

    * French translation

    * translation file

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * typos correction

    ---------

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit d0c01b7
Author: AlexNiDie <oxcoconu@163.com>
Date:   Thu Jul 10 06:37:22 2025 +0800

    fix(repo-page): pass 'include' params to API (AsyncFuncAI#268)

    Co-authored-by: gaohan1 <gaohan1@huya.com>

commit e6c9f37
Author: Chouzz <zhouhua852@gmail.com>
Date:   Wed Jul 9 03:36:39 2025 +0800

    feat: Cache repository configurations in frontend (AsyncFuncAI#254)

    Implement localStorage-based caching for repository configurations
    on the main page ('src/app/page.tsx').

    This feature enables the application to remember user-specified
    settings for a given repository URL. When a user submits a
    repository URL along with configurations such as wiki language,
    wiki type, model provider, model selection, custom model options,
    and advanced exclusion paths/files, these settings are now cached
    locally in the browser's localStorage.

    If the user later inputs the same repository URL, the previously
    saved settings are automatically loaded and pre-filled in the
    configuration modal. This significantly improves user experience
    by reducing repetitive data entry for frequently used repositories.

    The following configuration items are cached:
    - Wiki Language
    - Wiki Type (Comprehensive/Concise)
    - Model Provider
    - Model Selection
    - Custom Model (boolean flag and name)
    - Selected Platform (GitHub, GitLab, Bitbucket)
    - Excluded Directories
    - Excluded Files
    - Included Directories
    - Included Files

    Access tokens and other sensitive information are intentionally not
    cached to maintain security.

    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

commit 0efaec5
Author: Michał Żarnecki <michalzarnecki88@gmail.com>
Date:   Tue Jul 8 20:37:39 2025 +0200

    fix issue with select options background on google chrome browser (AsyncFuncAI#260)

    * fix select options background for google chrome

    * replace color with variable

    * selector refactoring for dark theme select options bg

commit 6b5e494
Author: piekill <piekill@users.noreply.github.com>
Date:   Tue Jul 8 07:51:18 2025 +0800

    feat: save wiki section structure to server cache (AsyncFuncAI#257)

    * feat: save wiki section structure to server cache

    * Update api/api.py

    for backward compatibility

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    ---------

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit dabce48
Author: Jack Cherng <jfcherng@gmail.com>
Date:   Tue Jul 8 04:12:52 2025 +0800

    Replace OPENAI_API_BASE_URL with OPENAI_BASE_URL (AsyncFuncAI#256)

    As per AsyncFuncAI#133

    Signed-off-by: Jun-Fei Cherng <jfcherng@realtek.com>

commit 1bfc651
Author: Chouzz <zhouhua852@gmail.com>
Date:   Fri Jul 4 12:10:04 2025 +0800

    fix: add IgnoreLogChangeDetectedFilter for logging to ignore changes (AsyncFuncAI#253)

    * Revert "fix: move log file to parent directory to avoid infinite logging loop (AsyncFuncAI#250)"

    This reverts commit 30c400c.

    * fix: add IgnoreLogChangeDetectedFilter for logging to ignore changes of log file

    * Update api/logging_config.py

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    ---------

    Co-authored-by: Sheing [ASYNCFUNC] <sng@asyncfunc.ai>
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit 30c400c
Author: Chouzz <zhouhua852@gmail.com>
Date:   Fri Jul 4 08:54:56 2025 +0800

    fix: move log file to parent directory to avoid infinite logging loop (AsyncFuncAI#250)

commit 2629ce6
Author: Sheing Ng <sng@asyncfunc.ai>
Date:   Thu Jul 3 14:53:50 2025 -0500

    Fix: Grab Default Branch instead of main/master.

commit 919b040
Author: zcuder <zcforeverud@aliyun.com>
Date:   Tue Jul 1 09:17:57 2025 +0800

    merge NEXT_PUBLIC_SERVER_BASE_URL env to SERVER_BASE_URL (AsyncFuncAI#240)

    * merge NEXT_PUBLIC_SERVER_BASE_URL env to SERVER_BASE_URL

    * fix typo

    ---------

    Co-authored-by: chen zhang <chen.zhang@rockbundcapital.com>

commit 1f5b9f2
Author: Sheing [ASYNCFUNC] <sng@asyncfunc.ai>
Date:   Sat Jun 28 21:00:39 2025 -0500

    Fix GitLab and Bitbucket URLs (AsyncFuncAI#244)

commit c7d488b
Author: Carbarcha (黃柏盛) <39450331+nuts-has-been-taken@users.noreply.github.com>
Date:   Sat Jun 28 02:47:48 2025 +0800

    feat: update github api with Enterprise endpoint support (AsyncFuncAI#239)

    Co-authored-by: carbarcha <carbarcha_huang@trendmicro.com>

commit 7ed5249
Author: Segment (gpsnmeajp) <33391403+gpsnmeajp@users.noreply.github.com>
Date:   Sat Jun 28 03:46:26 2025 +0900

    fix: select force utf-8 in japanese enviroment (AsyncFuncAI#242)
sng-asyncfunc pushed a commit that referenced this pull request Jul 10, 2025
* feat: update github api with Enterprise endpoint support

* Squashed commit of the following:

commit 5ab6bf9
Author: Kurea <la_trollette@hotmail.com>
Date:   Thu Jul 10 01:04:16 2025 +0200

    French translation (#267)

    * French translation

    * translation file

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * Update README.fr.md

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    * typos correction

    ---------

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit d0c01b7
Author: AlexNiDie <oxcoconu@163.com>
Date:   Thu Jul 10 06:37:22 2025 +0800

    fix(repo-page): pass 'include' params to API (#268)

    Co-authored-by: gaohan1 <gaohan1@huya.com>

commit e6c9f37
Author: Chouzz <zhouhua852@gmail.com>
Date:   Wed Jul 9 03:36:39 2025 +0800

    feat: Cache repository configurations in frontend (#254)

    Implement localStorage-based caching for repository configurations
    on the main page ('src/app/page.tsx').

    This feature enables the application to remember user-specified
    settings for a given repository URL. When a user submits a
    repository URL along with configurations such as wiki language,
    wiki type, model provider, model selection, custom model options,
    and advanced exclusion paths/files, these settings are now cached
    locally in the browser's localStorage.

    If the user later inputs the same repository URL, the previously
    saved settings are automatically loaded and pre-filled in the
    configuration modal. This significantly improves user experience
    by reducing repetitive data entry for frequently used repositories.

    The following configuration items are cached:
    - Wiki Language
    - Wiki Type (Comprehensive/Concise)
    - Model Provider
    - Model Selection
    - Custom Model (boolean flag and name)
    - Selected Platform (GitHub, GitLab, Bitbucket)
    - Excluded Directories
    - Excluded Files
    - Included Directories
    - Included Files

    Access tokens and other sensitive information are intentionally not
    cached to maintain security.

    Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>

commit 0efaec5
Author: Michał Żarnecki <michalzarnecki88@gmail.com>
Date:   Tue Jul 8 20:37:39 2025 +0200

    fix issue with select options background on google chrome browser (#260)

    * fix select options background for google chrome

    * replace color with variable

    * selector refactoring for dark theme select options bg

commit 6b5e494
Author: piekill <piekill@users.noreply.github.com>
Date:   Tue Jul 8 07:51:18 2025 +0800

    feat: save wiki section structure to server cache (#257)

    * feat: save wiki section structure to server cache

    * Update api/api.py

    for backward compatibility

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    ---------

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit dabce48
Author: Jack Cherng <jfcherng@gmail.com>
Date:   Tue Jul 8 04:12:52 2025 +0800

    Replace OPENAI_API_BASE_URL with OPENAI_BASE_URL (#256)

    As per #133

    Signed-off-by: Jun-Fei Cherng <jfcherng@realtek.com>

commit 1bfc651
Author: Chouzz <zhouhua852@gmail.com>
Date:   Fri Jul 4 12:10:04 2025 +0800

    fix: add IgnoreLogChangeDetectedFilter for logging to ignore changes (#253)

    * Revert "fix: move log file to parent directory to avoid infinite logging loop (#250)"

    This reverts commit 30c400c.

    * fix: add IgnoreLogChangeDetectedFilter for logging to ignore changes of log file

    * Update api/logging_config.py

    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

    ---------

    Co-authored-by: Sheing [ASYNCFUNC] <sng@asyncfunc.ai>
    Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

commit 30c400c
Author: Chouzz <zhouhua852@gmail.com>
Date:   Fri Jul 4 08:54:56 2025 +0800

    fix: move log file to parent directory to avoid infinite logging loop (#250)

commit 2629ce6
Author: Sheing Ng <sng@asyncfunc.ai>
Date:   Thu Jul 3 14:53:50 2025 -0500

    Fix: Grab Default Branch instead of main/master.

commit 919b040
Author: zcuder <zcforeverud@aliyun.com>
Date:   Tue Jul 1 09:17:57 2025 +0800

    merge NEXT_PUBLIC_SERVER_BASE_URL env to SERVER_BASE_URL (#240)

    * merge NEXT_PUBLIC_SERVER_BASE_URL env to SERVER_BASE_URL

    * fix typo

    ---------

    Co-authored-by: chen zhang <chen.zhang@rockbundcapital.com>

commit 1f5b9f2
Author: Sheing [ASYNCFUNC] <sng@asyncfunc.ai>
Date:   Sat Jun 28 21:00:39 2025 -0500

    Fix GitLab and Bitbucket URLs (#244)

commit c7d488b
Author: Carbarcha (黃柏盛) <39450331+nuts-has-been-taken@users.noreply.github.com>
Date:   Sat Jun 28 02:47:48 2025 +0800

    feat: update github api with Enterprise endpoint support (#239)

    Co-authored-by: carbarcha <carbarcha_huang@trendmicro.com>

commit 7ed5249
Author: Segment (gpsnmeajp) <33391403+gpsnmeajp@users.noreply.github.com>
Date:   Sat Jun 28 03:46:26 2025 +0900

    fix: select force utf-8 in japanese enviroment (#242)

* feat: ws connect support https

* 🐛 update wss method

* 🐛 del duplicate code
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants