voyager icon indicating copy to clipboard operation
voyager copied to clipboard

Voyager Translations UI

Open akazorg opened this issue 7 years ago • 66 comments

Voyager Translations are available on master branch.

For submitting your translations, please use the english translation as a start.

How to use

  • choose the default locale at config/app.php.
  • publish langs, or just copy/paste from vendor\tcg\voyager\publishable\lang\ into resources\lang\vendor\voyager\ as described in the Laravel docs.

Note

  • Language switch is missing.
  • If you use custom views, they require a update since voyager lang was changed.

Currently Translated

  • English
  • Arabic | @MujtabaFR
  • Chinese | @PCDotFan
  • French | @COTIGA
  • German | @marco-solare
  • Portuguese BR | @vpakg
  • Portuguese PT | @akazorg
  • Russian | @alexelev
  • Spanish | @gabrieljaime
  • Italy | @vitormicillo
  • Dutch | @andrewo0

Ping Voyagers... @marktopper @tnylea @emptynick @gnovaro @abdgad @fletch3555 @mbdwey @AdrianKuriata @Steve-sy @v01061374 @CrazyFreeMan @Omazon @AngeloMerlo @kristiandrucker @mr0bles @jehanf @lucacalcaterra @aak74.

:world_map:

akazorg avatar Jun 20 '17 00:06 akazorg

I'm on it...

victorpierredev avatar Jun 20 '17 01:06 victorpierredev

Sure, i will do polish translation.

AdrianKuriata avatar Jun 20 '17 05:06 AdrianKuriata

Thanks for great work!

Missed word in browse.blade.php : @section('page_title','All '.$dataType->display_name_plural)

Next problem: Translation showing_entries should be '[0]No entries|[1,*]Showing :from to :to of :all entries' and browse.blade.php line 123: {{ trans_choice('voyager.generic.showing_entries', $dataTypeContent->total(), ['from' => $dataTypeContent->firstItem(), 'to' => $dataTypeContent->lastItem(), 'all' => $dataTypeContent->total()]) }}

IProSoft avatar Jun 20 '17 18:06 IProSoft

working in spanish translation

mr0bles avatar Jun 20 '17 18:06 mr0bles

@IProSoft thanks, will update that!

akazorg avatar Jun 20 '17 18:06 akazorg

DataTables has a language files from their page.

AdrianKuriata avatar Jun 21 '17 05:06 AdrianKuriata

Hi @AdrianKuriata, I've merged their translations.

akazorg avatar Jun 21 '17 09:06 akazorg

Hi @akazorg. Did you copy translation for buttons? I mean text for copy button after copied to clipboard?

AdrianKuriata avatar Jun 21 '17 09:06 AdrianKuriata

I have no idea, can you please check that on Voyager EN lang file?

akazorg avatar Jun 21 '17 09:06 akazorg

I mean about this Check Copy clipbooard language. This is not exists in voyager language file. When you get in on link, which i add and you click on copy you will see modal with information about success copied to clipboard etc.

AdrianKuriata avatar Jun 21 '17 09:06 AdrianKuriata

@akazorg Sorry, my bad i forgot we don't let users export data! Forget about what I talking!

AdrianKuriata avatar Jun 21 '17 09:06 AdrianKuriata

I'm on the French translation

jehanf avatar Jun 23 '17 06:06 jehanf

Thanks for the new feature @akazorg ! I am working on a project and in two weeks I finish and I will work on the translation into Portuguese (Brazil).

AngeloMerlo avatar Jul 01 '17 11:07 AngeloMerlo

Hi @AngeloMerlo Portuguese (BR) translations are ready to use. @vpakg already took care of that. Happy codding!

akazorg avatar Jul 01 '17 17:07 akazorg

Hi, I'm on the Persian (Farsi - فارسی) translation.

mhemrg avatar Jul 08 '17 15:07 mhemrg

might be good idea to publish tutorial on translate integration and give option in settings or smthing like that

azatTemirbek avatar Jul 22 '17 23:07 azatTemirbek

@e178551 what do you mean?

victorpierredev avatar Jul 23 '17 13:07 victorpierredev

im new to voyager and i couldn't change interface lang. can you make step by step tut on it. also i could not finf any resources on yutube

azatTemirbek avatar Jul 23 '17 13:07 azatTemirbek

Hi @e178551, for enabling a different language on the Voyager UI, you will have to define the locale at config/app.php (it uses the default Laravel translations system).

If you are looking for a "language selector", that is not available at the moment, the admin/developer will have to define which language to use.

I hope this is clear for you. Happy coding. [edited]

akazorg avatar Jul 31 '17 15:07 akazorg

akazorg, You mean: config/app.php tks

cotiga avatar Aug 11 '17 09:08 cotiga

Indeed @COTIGA. Thanks I've edited my comment.

akazorg avatar Aug 11 '17 10:08 akazorg

Hello, I am new not Voyager, not understood how to translate to pt_br. They could pass me one step at a time. Thank you.

vitorbrussi avatar Aug 11 '17 14:08 vitorbrussi

I've just submitted the Arabic translation files as a pull request. But I noticed that Dimmers in dashboard has some issues with Arabic language as shown in this picture

download

Also I hope that the RTL feature can be completed soon :)

MujtabaFR avatar Aug 13 '17 10:08 MujtabaFR

@vitorbrussi just enter the default locale at config/app.php.

@MujtabaFR thanks for the PR, I've commented it. I'm not sure what is happening with Dimmers, we should check that. If you find a solution please let us know.

akazorg avatar Aug 22 '17 01:08 akazorg

Hello, I have changed the language in the config / app.php locate = es, And copy the translation files to the recourse / lang folder But does not change the language

Enyelber avatar Aug 23 '17 01:08 Enyelber

@Enyelber What version of Voyager are you using?

marktopper avatar Aug 23 '17 06:08 marktopper

this v0.11.14

Enyelber avatar Aug 23 '17 14:08 Enyelber

Italy language its me @marktopper @tnylea @akazorg

vitormicillo avatar Sep 15 '17 14:09 vitormicillo

Added you to the list @vitormicillo

marktopper avatar Sep 15 '17 14:09 marktopper

I'm going to do Dutch Translation @marktopper

andrewo0 avatar Sep 19 '17 11:09 andrewo0