dotnetcore / BootstrapBlazor

Bootstrap Blazor is an enterprise-level UI component library based on Bootstrap and Blazor.
https://www.blazor.zone
Apache License 2.0
2.6k stars 299 forks source link

Translate the docs to english #42

Closed ArgoZhang closed 1 year ago

ArgoZhang commented 3 years ago

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

translate the docs to english

Describe the solution you'd like

Additional context

ArgoZhang commented 3 years ago

@pomeara hi, could you join this work?

georgeemr commented 3 years ago

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.

ArgoZhang commented 3 years ago

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

georgeemr commented 3 years ago

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.

ArgoZhang commented 3 years ago

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

pomeara commented 3 years ago

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

ArgoZhang commented 3 years ago

@pomeara thanks. the docs need follow this

pomeara commented 3 years ago

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

ArgoZhang commented 3 years ago

@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

densen2014 commented 3 years ago

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
pomeara commented 3 years ago

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

densen2014 commented 3 years ago

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

ArgoZhang commented 3 years ago

@pomeara great! @densen2014 thanks for you contribution

ahmetkocadogan commented 2 years ago

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

ArgoZhang commented 2 years ago

@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

DominicSaladin commented 2 years ago

@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 commented 2 years ago

@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 commented 2 years ago

@ArgoZhang Would be nice to know :)

ArgoZhang commented 2 years ago

@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.

pomeara commented 2 years ago

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

pomeara commented 2 years ago

@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

ArgoZhang commented 2 years ago

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

pomeara commented 2 years ago

@ArgoZhang please grab some more translations from the same branch

ArgoZhang commented 2 years ago

@pomeara Great! thank you very much.

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

pomeara commented 2 years ago

@ArgoZhang more translations (in a new branch)

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

image

ArgoZhang commented 2 years ago

@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
pomeara commented 2 years ago

@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

ArgoZhang commented 2 years ago

@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

pomeara commented 2 years ago

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

ArgoZhang commented 2 years ago

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