Translate Pages

Hi Guys,

PROBLEMS:

Our website supports both Chinese and English. We found that there are
many cases need different ways of translation.

a. For the views, we can translate words easily using the “_(‘hello
world’)” functions.

b. For the static pages, we are using the:
/contact_us.html (for english)
/locale/zh_TW/contact_us.html (for chinese)

Nevertheless, there are two more cases I don’t know how to translate way
are better:

c. Error page:
I don’t know whether the “_()” function works

d. Server is down page:
when Rails is down, the lighttd may redirect to another static page.

METHODS:

How should we translate these four cases?

I am thinking whether we should load the English and then translate
using AJAX (or push the languages content to client and load it using
Javascript)?

Thanks!
Arthur