pingdotgg / uploadthing

File uploads for modern web devs
https://uploadthing.com
MIT License
4.12k stars 303 forks source link

docs: Add translation information #916

Open Arzh42 opened 1 month ago

Arzh42 commented 1 month ago

Area of Improvement

Hello, first thank you for the product it is really a pleasure to work with it !!

However, I'm a french developer and working for french users and it was a bit difficult to find a way to translate the components. A translation directly included in the product would have been perfect :wink: but I think a simple addition to the theming part of the documentation (like theming/translation) giving an example on how to translate easily would have made my work a lot easier and should not take too much time to do.

Also the documentation for content may need more content like describing how ContentField work, I wasn't able to work with it without diving into the typescript code and it may be not accessible for more junior devs.

I may do a PR later on based on my example if I find the time to do it

Link to related docs

https://docs.uploadthing.com/theming#content-customisation

Additional information

No response

πŸ‘¨β€πŸ‘§β€πŸ‘¦ Contributing

markflorkowski commented 1 month ago

I agree, I would be hesitant to maintain the translations "natively" since that could so quickly explode in size for a feature many users may not use, but this is probably something we should have in the documentation. PRs are definitely welcome to update the theming docs!

Bashamega commented 1 week ago

Do you mean to make the components more customizable so you can add your custom text?