3 ms·
There's hard coding strings, and then there's hard-coding sentence fragments. If you hard code strings, you can't translate at all. If you hard-code sentence s
by hinkley 4y ago
There's hard coding strings, and then there's hard-coding sentence fragments.
If you hard code strings, you can't translate at all. If you hard-code sentence structure ("There are " + n + " copies of this book in stock") then you're going to sound like Yoda in a number of languages.
Adjectives are a particularly bad sticking point. Is it a large red book (English), a large book that is red (French), or a book that is large and red? But Verb-Object-Noun order also vary just within first world nations, so even the lame classist/racist/nationalistic excuse of "We don't need their money anyway" doesn't really fly. One of your competitors will be very happy to take Japan's money.