English 中文(简体)
• 如何处理文字问题?
原标题:How does gettext deal with a/an or d /de?

Imagine this string for translation:

“Your paths”以百分数阻断。

如果变量是“aconda”。 现在应该是“Your条路被百分数阻断”。

如何用文字来应对这一问题,或者客户方案者应如何应对这一问题,或者其他系统如何应对这一问题?

mag:

“%s s”

我们希望通过“Brian”或“Jim”或“Lucinda”。 一切顺利。

但法文译本是:

“百分比”。

对让-保罗或克劳德特来说,这是罚款,但对Anais穷人来说是什么? 她需要“Page d Anais”,而不是“Page de Anais”。

案文如何应对? 标准做法是什么?

问题回答

如你所期望的那样,获得文字并不帮助你建立文法矫正体。 即便在你没有英语问题的情况下,在节目中显示文字是地方性的,因为特定语言的问题可能会产生。 如果可以管理的话,你或许应该对每一案件分别有条理,例如“Your条道路被丁萨努尔阻断”,“Your条道路被捆绑起来”,“Your条道路被一田所堵塞”。 它意味着大量重复,但翻译系统通过使用翻译记忆,甚至更复杂的案件自动翻译(如果需要,翻译才需要校对和修正)。

你的“Page d Anais”/“Page de Claudette”是一个很好的例子。 在这种情况下,唯一的解决办法是储存当地可加固的表格(如你已经这样做),以便当地人能够找到可行的解决办法。 (例如,“Page de : Anais”尽管在每一种情况下都不是很出色的工作,因此,将“%s s”作为“Page de : %s”加以本地化。 但是,当地人确实需要了解这种形式将在何处出现,以及它是如何建造的,因此,你需要说明这一点。

One of the most widely mistranslated strings is "%n of %n" (used for printing pages, as in page "1 of 4") which without context is often translated completely wrong. E.g. in French a literal translation is "1 de 4" which is meaningless in this context, it should be "1 sur 4".





相关问题
How does gettext handle dynamic content?

In php (or maybe gettext in general), what does gettext do when it sees a variable to dynamic content? I have 2 cases in mind. 1) Let s say I have <?=$user1?> poked John <?=$user2?>. ...

Explain the Need for Mutexes in Locales, Please

Reading the question Why doesn’t C++ STL support atoi(const string& ) like functions?, I encountered a comment which warned that GCC (at least) has a bug that can slow down multi-threaded ...

How does Vistalizer work

How does Vistalizer manage to override the language limit in Windows Vista Home edition. Which api s does it use to allow installation of Multiple language packages.

Localized exceptions (within a Struts2 app)

I am developing a Struts 2 application with support for multiple languages. If one of the domain objects needs to throw an exception, how can it do so in such a way that the error message is no ...

Rails Globalize plugin help

Has anyone gotten the Globalize plugin to work Rails 2.3.2 or later? If so, could you direct me to some useful info?

热门标签