Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

People here are talking about complicated, difficult solutions, like using a library to create text in multiple languages from an AST(!)

I think the moral of the post is simple: don't try to generate natural language. It won't sound natural. Just keep it basic.

"Directories scanned: %d" "Directories matched: %d" "Files matched: %d"

...will localize just fine



That might be ok for technical people who are used to this kind of "machine speak", but for end users it's often not acceptable. Consider the difference between:

    Purchased credits: %d.
    Remaining credits: %d.
    Buy more : 5 [link] / 10 [link] / 20 [link].
and

   You have purchased a total of %d credits and have used %d of them so far. You can buy [drowdownlist] additional credits by clicking here [link].
Which one do you think will have the highest conversion rate?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: