Página 1 de 1

Editor de traduções

Enviado: 17 Abr 2022, 19:15
por robson_alan
Pessoal tenho um tema no qual a tradução é feita através dos modulos , no manual que recebi esta assim:
Language Keys:
To Translate this section in any other language, you need to add this module file mahardhi_newsletter.php in appropriate language directory.

1. Add the file mahardhi_newsletter.php from the path catalog/language/en-gb/extension/module to catalog/language/your_language/extension/module.

2. Add the file mahardhi_newsletter.php from the path admin/language/en-gb/extension/module to admin/language/your_language/extension/module.

Admin: Navigation/Design/Language Editor/Add New

Route: extenstion/module/mahardhi_newsletter

Keys:

newsletter_title
newsletter_description
newsletter_title_popup
newsletter_description_popup
entry_user_email
entry_subscribe
entry_unsubscribe
entry_show_again
error_message
success_subscribe
success_unsubscribe
already_subscribe
error_exist

Obs: já fiz a alteração 1 e 2 minha duvida é onde coloco essas keys e como traduzo isso no admin?

Re: Editor de traduções

Enviado: 18 Abr 2022, 09:03
por reds
Ola @robson_alan

Como ele diz ai:
Pegue o arquivo: from the path catalog/language/en-gb/extension/module/mahardhi_newsletter.php
duplique a pasta idioma que vem no thema e renomeie a pasta "en-gb" para seu idioma, ex; "pt-br" e traduza o conteudo do arquivo de idioma, nesse caso: "mahardhi_newsletter.php"

ou Simplesmente traduza o conteudo do arquivo "mahardhi_newsletter.php" para o seu idioma.
;)