Maching paper size with locale