Hi, I am trying to generate translations for both Portuguese (Brazil) and Portuguese (Portugal).
I checked the output of the supported languages command and it lists pt and pt-PT.
However both targets seem to produce the same output. Example below:
> $tr->setTarget('pt');
> echo $tr->translate('The photo that you recently uploaded');
A foto que você enviou recentemente⏎
> $tr->setTarget('pt-PT');
> echo $tr->translate('The photo that you recently uploaded');
A foto que você enviou recentemente⏎
The direct output from the google translate web interface for pt-PT is different to pt - it looks like using pt-PT in this library is just using reverting to pt
As pt-PT is listed in the supported languages, is this correct or is there something I need to do to enable it? Thanks
Hi, I am trying to generate translations for both Portuguese (Brazil) and Portuguese (Portugal).
I checked the output of the supported languages command and it lists pt and pt-PT.
However both targets seem to produce the same output. Example below:
The direct output from the google translate web interface for
pt-PTis different topt- it looks like usingpt-PTin this library is just using reverting toptAs pt-PT is listed in the supported languages, is this correct or is there something I need to do to enable it? Thanks