現在、6つの異なる言語で翻訳する必要があるZend Framework Projectを実装しています。私たちはすでにZend_Translateをベースにしたかなり洗練された翻訳システムを持っています。翻訳文字列の文法/スペルの問題を扱う
このプロジェクトでは、新しいトルコ語翻訳者が誕生しました。新しい問題:文法、特にトルコ語翻訳に直面しています。私はこの問題がすべての翻訳システムとほとんどの言語で明白であるかもしれないことに気がついたので、私はここに質問を掲示しました。
質問:などの翻訳を処理するために、どのように任意のアイデア:
Key: I have a[n] {fruit}
Variables: apple, banana
Result: I have an apple. I have a banana.
Key: Stimme für {user}[s] Einsendung
Variables: Paul, Markus
Result: Stimme für Pauls Einsendung,
Result: Stimme für Markus Einsendung
誰もがこのためのソリューションやアイデアを持っていますか?私の唯一の推測は、これらの問題が発生する場所で翻訳を使用しないことでこれを避けることです。 他のプラットフォームはどのようにこれを処理しますか?
もちろん、翻訳システムには、どのタイプの文章のどこに配置するかという考え方はありません。トルコは、さらに複雑である:
For example, on a profile page, we have "Annie's Network". This should translate as "Annie'nin Aği".
If the first name ends in a vowel, the suffix will start with an n and look like "Annie'nin"
If the first name ends in a consonant, it will not have the first n, and look like "Kris'in"
If the last vowel is an a or ı, it will look like "Dan'ın"; or Seyma'nın"
If the last vowel is an o or u, it will look like "Davud'un"; or "Burcu'nun"
If the last vowel is an e or i, it will look like "Erin'in"; or "Efe'nin"
If the last vowel is an ö or ü, it will look like "Göz'ün'; or "Iminönü'nün"
If the last letter is a k (like the name "Basak"), it will look like "Basağın"; or "Eriğin"
なぜあなたは_pretty sophisticated Translation System_と言っていますか?私は理解できません、申し訳ありません。英語とドイツ語の例は非常に基本的なものであり、あなたのシステムはそれを管理していませんか? –