Ottopress comes with the 3 laws on internationalization

Today the WordPress authority Otto (a.k.a. Samuel Wood), came with an article titled Internationalization: You’re probably doing it wrong.

In it he lays out the 3 laws of internationalization.

In short – do read the details with coding examples on Ottopress – the 3 laws are:

  1. don’t use PHP variables inside a translation function’s strings
  2. translate phrases, not words
  3. disambiguate when needed

In the comments Otto even suggests that number_format_i18n() could be added as the 4th law.

I must say that I am very happy that people are becoming more i18n aware – it’s about time – and if people like Otto start writing about it, then you can count on it that this is not something that is going away!

top

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

top