Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to translate Brazilian Portuguese #388

Open
Ijevan opened this issue Jul 28, 2023 · 4 comments
Open

How to translate Brazilian Portuguese #388

Ijevan opened this issue Jul 28, 2023 · 4 comments

Comments

@Ijevan
Copy link

Ijevan commented Jul 28, 2023

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

@emerson-pj
Copy link

emerson-pj commented Jul 28, 2023

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
Copy link
Author

Ijevan commented Jul 28, 2023

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

@emerson-pj
Copy link

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.

@changeweb
Copy link
Owner

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
@changeweb @emerson-pj @Ijevan and others