Get the page locale.

Signed-off-by: cocolekat <cocolekat@gmail.com>