obol-docs icon indicating copy to clipboard operation
obol-docs copied to clipboard

Multi language template

Open thomasheremans opened this issue 3 years ago • 5 comments

Problem to be solved

Add the framework to our docs for multi-language.

Out of Scope

Translation will be done by external parties

thomasheremans avatar Feb 09 '23 12:02 thomasheremans

This is possible with Docusaurus https://docusaurus.io/docs/i18n/tutorial

It will require a second deployment on Netlify using the path e.g. https://docs.obol.tech/fr/ for French.

image

EridianAlpha avatar Mar 08 '23 12:03 EridianAlpha

Would be great to review what has been done there and provide a comprehensive model that handles multiple languages. This PR is quite old so review would definitely help

Thomas Heremans Technical Project Manager | Obol ___________________________ https://linktr.ee/theremans

On Wed, 8 Mar 2023 at 13:07, Eridian @.***> wrote:

It looks like this was already started for a Russian translation here: #38 https://github.com/ObolNetwork/obol-docs/pull/38

— Reply to this email directly, view it on GitHub https://github.com/ObolNetwork/obol-docs/issues/119#issuecomment-1460127388, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZWBTT4QNCEBK2YBZF4YJUDW3B777ANCNFSM6AAAAAAUWPEXGA . You are receiving this because you authored the thread.Message ID: @.***>

--

*This message contains confidential information and is intended only for the individual or entity named, If you are not the intended recipient, you should not disseminate, distribute, or copy this email. Please notify Obol Labs Inc. immediately by email if you have received this email by mistake and delete this email from any electronic devices.  *

Although taking reasonable precautions to ensure no viruses or malicious software are present in this email, Obol Labs Inc. does not accept liability for any errors, loss or damage which arise as a result of email transmission. Replies to this email may be monitored by Obol Labs Inc. for operational or business reasons.

We are committed to guaranteeing the security and protection of the private information that we process. To understand more about how we collect, store, and process your personal information in compliance with GDPR, please take a look at our privacy policy.

thomasheremans avatar Mar 08 '23 14:03 thomasheremans

require a second deployment on Netlify using the path

Won't they be on the same deployment? Yes it will be a subpath, but not a totally separate netlify site i believe

OisinKyne avatar Mar 08 '23 17:03 OisinKyne

Yes when I've tested it Netlify handles it, so it doesn't appear to require any manual changes for it to work. I can create a PR for the branch for this issue and it should work.

EridianAlpha avatar Mar 08 '23 17:03 EridianAlpha

@OisinKyne @thomasheremans Do I need to update my PR or what is the best way to do it? I see that some progress is happening on my old PR. #38

ammmity avatar Jan 10 '24 13:01 ammmity