changeweb/Unifiedtransform

How to translate Brazilian Portuguese

Ijevan opened this issue · 4 comments

Ijevan commented

Congratulations Unifiedtransform 2.0 very good. How do I add... or download... a resource/lang for the Portuguese language?

I am also interested. (@Ijevan Eu também tenho interesse. @Luciano-Jr )
I can help too. We just need to know how to help?

@changeweb Some evolution after 2019 (Add translation support) #133

@Ijevan You can get more information here: Localization Translate
Basically in the folder resources/lang resources/lang

Ijevan commented

Hi @emerson-pj follow steps #133(Instalei usando Docker). Unfortunately unable to translate. I'm waiting for help. TKS

Have you (@Ijevan ) changed the locale in the config/app.php file?
There are 3 locale.

In addition to the above step, for testing purposes, try to manually put your locale in resources/views/layouts/app.blade.php and also in resources/views/welcome.blade.php.
In line {{ str_replace('_', '-', app()->getLocale()) }} removes this function and puts its locale directly.

Another detail:
the translation in resourcesz\lang is by the 'Short Keys'. Then you can replace it with 'Strings As Keys'.

This is what I can contribute.
Let's wait for more help.