BootstrapBlazor icon indicating copy to clipboard operation
BootstrapBlazor copied to clipboard

Translate the docs to english

Open ArgoZhang opened this issue 4 years ago • 19 comments

Is your feature request related to a problem? Please describe.

translate the docs to english

Describe the solution you'd like

  • open json file in to ~/BootstrapBlazor.Shared/Locales
  • update the docs under ~/BootstrapBlazor.Shared/Pages folder content

Additional context

  • [x] Alerts
  • [X] Anchors
  • [x] AutoCompletes
  • [x] Avatars
  • [x] Badges
  • [ ] BarcodeReaders
  • [ ] Breadcrumbs
  • [ ] Buttons
  • [ ] Calendars
  • [ ] Cameras
  • [ ] Capthcas
  • [ ] Cards
  • [ ] Carousels
  • [ ] CheckboxLists
  • [ ] Checkboxs
  • [ ] Circles
  • [ ] Collapses
  • [ ] Coms
  • [ ] Consoles

ArgoZhang avatar Dec 23 '20 07:12 ArgoZhang

@pomeara hi, could you join this work?

ArgoZhang avatar Dec 23 '20 07:12 ArgoZhang

Hi, this can be perfect, I try to implement the library but it's too complicated with no English documentation. I was looking for a blazor bootstrap 4 library and as far I can found this is the most complete.

georgeemr avatar Jan 13 '21 03:01 georgeemr

@georgeemr hi,thank you for replay. could you join us for the translate work?

ArgoZhang avatar Jan 13 '21 03:01 ArgoZhang

Hi @ArgoZhang , sure, I will fork the project and do it in my free time. English is not my primary language but I will try it.

georgeemr avatar Jan 26 '21 20:01 georgeemr

@georgeemr thank you for reply. translate work is a huge work. maybe we should redesign the docs system. do you have any suggestion?

ArgoZhang avatar Jan 27 '21 04:01 ArgoZhang

@ArgoZhang hey let me know when you need some English translation assistance, I am happy to help out as usual

pomeara avatar Jan 27 '21 09:01 pomeara

@pomeara thanks. the docs need follow this

  • open json file in to ~/BootstrapBlazor.Shared/Locales
  • update the docs under ~/BootstrapBlazor.Shared/Pages/Samples folder content

ArgoZhang avatar Jan 27 '21 13:01 ArgoZhang

@ArgoZhang are we using .resx files for the translations, this appears to be the best practice from MS for .net apps

pomeara avatar Jan 28 '21 05:01 pomeara

@pomeara i'm very sorry for that this project use json resource file. but it support .resx format. cause by my environment is on mac. so can't edit .resx format file. json is better

ArgoZhang avatar Jan 28 '21 05:01 ArgoZhang

Already translated:

  1. BootstrapBlazor.Shared.Pages.Components.AttributeTable
  2. BootstrapBlazor.Shared.Common.AttributeItem
  3. BootstrapBlazor.Shared.Shared.ComponentLayout
  4. BootstrapBlazor.Shared.Pages.QRCodes
  5. BootstrapBlazor.Shared.Pages.Components.MethodTable
  6. BootstrapBlazor.Shared.Common.EventItem
  7. BootstrapBlazor.Shared.Common.MethodItem

densen2014 avatar Feb 06 '21 22:02 densen2014

@densen2014 great stuff, @ArgoZhang I start a mini break for two weeks from tomorrow so I will have some time to help out then

pomeara avatar Feb 06 '21 23:02 pomeara

@pomeara Nice to meet you, i am chinese, vivo en madrid , ;->

densen2014 avatar Feb 07 '21 01:02 densen2014

@pomeara great! @densen2014 thanks for you contribution

ArgoZhang avatar Feb 07 '21 03:02 ArgoZhang

I can help to translate to Turkish language if you like but i need an English version for that.

ahmetkocadogan avatar Mar 03 '22 06:03 ahmetkocadogan

@ahmetkocadogan that's great! the English version resource is ready. you can check it out from https://github.com/dotnetcore/BootstrapBlazor/blob/main/src/BootstrapBlazor/Locales/en.json

ArgoZhang avatar Mar 03 '22 07:03 ArgoZhang

@ahmetkocadogan that's great! the English version resource is ready. you can check it out from https://github.com/dotnetcore/BootstrapBlazor/blob/main/src/BootstrapBlazor/Locales/en.json

Is that the correct link? And what is that for: https://github.com/dotnetcore/BootstrapBlazor/blob/main/src/BootstrapBlazor.Shared/Locales/en.json

Do you need any help with translating at the moment?

DominicSaladin avatar Aug 19 '22 20:08 DominicSaladin

@ArgoZhang Also, is there a reason why the complete code documentation is in chinese and not in english? image

Is it planned to change this to english in the future?

DominicSaladin avatar Aug 22 '22 16:08 DominicSaladin

@ArgoZhang Would be nice to know :)

DominicSaladin avatar Aug 26 '22 15:08 DominicSaladin

@ArgoZhang Also, is there a reason why the complete code documentation is in chinese and not in english? image

Is it planned to change this to english in the future?

sorry for the delayed reply. this is need help too.

ArgoZhang avatar Sep 11 '22 10:09 ArgoZhang

@ArgoZhang pull translations from here https://github.com/pomeara/BootstrapBlazor/commit/c287e5a3eec7ea0ec899bfee9dacb5256478a359

pomeara avatar Oct 01 '22 01:10 pomeara

@ArgoZhang please get many commits from here all for the translations

image

@ArgoZhang I moved it into a branch - https://github.com/pomeara/BootstrapBlazor/tree/translations

pomeara avatar Oct 02 '22 01:10 pomeara

@pomeara it's cool. great works. thank you very much. I merged it into my repo. later will release

ArgoZhang avatar Oct 02 '22 15:10 ArgoZhang

@ArgoZhang please grab some more translations from the same branch

pomeara avatar Oct 02 '22 22:10 pomeara

@pomeara Great! thank you very much.

BTW: delete the branch after I merged and recreating a branch is better

ArgoZhang avatar Oct 03 '22 09:10 ArgoZhang

@ArgoZhang more translations (in a new branch)

https://github.com/pomeara/BootstrapBlazor/tree/new-translations

image

pomeara avatar Oct 04 '22 19:10 pomeara

@pomeara great job thank you very very much

BTW: better steps

  1. delete the branch after merged
  2. sync repo from https://github.com/dotnetcore/BootstrapBlazor
  3. create a new branch from main branch

ArgoZhang avatar Oct 05 '22 13:10 ArgoZhang

@ArgoZhang please grab this branch also https://github.com/pomeara/BootstrapBlazor/tree/translations-2

i did the 3 steps you mentioned also

Please check you got this branch also https://github.com/pomeara/BootstrapBlazor/tree/new-translations

I think the translations are now complete - let me know if you see any thing missing

pomeara avatar Oct 07 '22 15:10 pomeara

@pomeara Thank you very much for your work. I think maybe my expression is wrong. the branch translations-2 can't be merged into the main because of too many conflicts.

I notice that you merge the Main branch into your translations-2. it's a bad idea.

https://github.com/pomeara/BootstrapBlazor/commit/76706d78e29bc2751e66654c0b61de7c07da4790

the better step is

  1. delete branch translations-2
  2. create a new branch from main (sync bootstrapblazor main branch) named 'doc-trans'
  3. update the docs

BTW: you can invite me. I can fix it in your repo

ArgoZhang avatar Oct 08 '22 06:10 ArgoZhang

@ArgoZhang I added you to the repo please work your magic would love to see all the translations make it into the master

pomeara avatar Oct 08 '22 16:10 pomeara

@pomeara done! thank you for doing this work again. it's very cool.

ArgoZhang avatar Oct 09 '22 13:10 ArgoZhang