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

French translation of CoT page #1137

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

hchiam
Copy link
Contributor

@hchiam hchiam commented May 1, 2024

The current URL is https://learnprompting.org/fr/docs/intermediate/chain_of_thought

if we're still translating 🤷

slightly updated my prompt template (that i used in pr 1119 and pr 1127) to account for the shift to mdx files:

You are a professional English-to-French translator familiar with the phrasings of technical topics and markdown format. Translate the following English text in markdown format (surrounded by dashes) into French text in markdown format. Do not translate "Prompt Engineering" or "PE" or "prompting", just leave those words in English, but otherwise translate the rest of the text. For example, "Prompt Engineering Strategies" should be translated as "Stratégies de Prompt Engineering", and "PE strategies" should be translated as "Stratégies de PE". Note that "Generative AI" should be translated as "IA générative", and "feedback" should be translated as "commentaires". Also do not translate special syntax like ":::takeaways" or ":::caution". Remember that French uses sentence case for headings, but preserve the casing of English words.

-----start of English markdown:-----

``mdx
...
``

-----End of English markdown-----

-----French:-----

Copy link

vercel bot commented May 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
learn-prompting ❌ Failed (Inspect) May 1, 2024 1:14am

Copy link
Contributor Author

@hchiam hchiam left a comment

Choose a reason for hiding this comment

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

Ready for review.

the current english file /Learn_Prompting/(docs)/docs/intermediate/chain_of_thought/page.mdx contains a conclusion section, so i got chatgpt to translate that instead of the current french .mdx file that contains outdated english text

@hchiam
Copy link
Contributor Author

hchiam commented May 1, 2024

btw, in the following commit, you can see to see the manual edits i did, and also a little trick i used to avoid needlessly making chatgpt recreate the iframe srcs: b39c4fb

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.

1 participant