trigaten / Learn_Prompting

Prompt Engineering, Generative AI, and LLM Guide by Learn Prompting | Join our discord for the largest Prompt Engineering learning community
https://learnprompting.org
Other
4.24k stars 633 forks source link

French translation of CoT page #1137

Open hchiam opened 3 months ago

hchiam commented 3 months ago

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:-----
vercel[bot] commented 3 months ago

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
hchiam commented 3 months ago

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: https://github.com/trigaten/Learn_Prompting/pull/1137/commits/b39c4fb1a9d1ce07b3cc486f0f3c588ff6fe8612