Please add some tests to verify the logic works for pt-PT and pt-BR.