Skip to content

Italian translation of 1.mdx#103

Merged
lewtun merged 58 commits into
huggingface:mainfrom
CaterinaBi:main
Apr 26, 2022
Merged

Italian translation of 1.mdx#103
lewtun merged 58 commits into
huggingface:mainfrom
CaterinaBi:main

Conversation

@CaterinaBi

Copy link
Copy Markdown
Contributor

No description provided.

@lewtun lewtun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @CaterinaBi thank you for this great contribution and congrats on your first PR to the Hugging Face ecosystem 🔥 !

As @sharkovsky mentioned, we should only include the files that have been translated, so all the original English ones can be deleted. Please let us know if you need some help with Git and we'll be happy to provide it 🤗

Comment thread chapters/it/_toctree.yml Outdated
sections:
- local: chapter1/1
title: Introduzione
- local: chapter1/2

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for translating the whole ToC, but we only need to include the sections for which there are MDX files in Italian. In your case, we have chapter0/1.mdx and chapter1/1.mdx translated, so the _toctree.yml file should just include:

- title: 0. Installazione
  sections:
  - local: chapter0/1
    title: Introduzione

- title: 1. Modelli Transformer
  sections:
  - local: chapter1/1
    title: Introduzione

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok! Thanks!

@sharkovsky

Copy link
Copy Markdown
Contributor

Hi @CaterinaBi , how are things going? Let me know if i can help in any way!

@jowharshamshiri jowharshamshiri mentioned this pull request Apr 20, 2022
69 tasks
@CaterinaBi

Copy link
Copy Markdown
Contributor Author

Hi @CaterinaBi , how are things going? Let me know if i can help in any way!

Hi @sharkovsky , I'm so sorry I ghosted you, I had all sorts of weird things happening to me: I first found myself without any network on the Italian Dolomites for 10 days (thankfully I had planned to take time off from work, so I didn't have any planned meetings!), then I came back to England and realised I forgot my sim card in my mother's phone when she brought me her Italian sim to see whether I'd be able to get some work done using that as a hotspot (that network was terrible too, by the way). So I was locked out of all websites and applications that required a double identification. I should have had GitHub security coded but couldn't find them anywhere... A modern nightmare!

Anyway, I'll be trying to get things right tonight and come back to you if I see I can't update the pull request alone. Because of all that happened I'm also so late with the translations, I feel super guilty!

@lewtun

lewtun commented Apr 26, 2022

Copy link
Copy Markdown
Member

Welcome back @CaterinaBi 🤗 ! Please let us know if you need any help :)

@CaterinaBi

Copy link
Copy Markdown
Contributor Author

Welcome back @CaterinaBi 🤗 ! Please let us know if you need any help :)

Hello @lewtun! Sorry I disappeared, I feel so bad about this! I've tried to update the pull request, will you please let me know if I've done all correctly this time?

Just to double check: how do you want me to proceed? Do I open a pull request each time I'm done translating a file (and updating the ToC)?

@lewtun lewtun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fixes @CaterinaBi - this is looking great! There's just a small fix needed for the ToC and could you please add the it language code to the languages field of the build_documentation.yml and build_pr_documentation.yml files? You want to add something like:

languages: ar bn de en es fa fr gj he hi it ja ko pt ru th tr zh-CN

Comment thread chapters/it/_toctree.yml
- title: 0. Installazione
sections:
- local: chapter0/1
title: Introduzione

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we lost the piece for chapter1/1 😬 . Could you add the following below this line:

- title: 1. Modelli Transformer
  sections:
  - local: chapter1/1
    title: Introduzione

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you very much for your help, @lewtun! All should be done correctly now (or at least I hope so).

I'm very grateful for your help, I'm learning so much!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this! It seems that we just have some merge conflicts to resolve on the build_pr_documentation.yml and build_documentation.yml files - would you be happy to fix that?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok so I've just resolved my first conflicts ever. Hopefully I didn't make a mess!

@lewtun

lewtun commented Apr 26, 2022

Copy link
Copy Markdown
Member

Just to double check: how do you want me to proceed? Do I open a pull request each time I'm done translating a file (and updating the ToC)?

Yes, this would be great! From other translations, I think it's a bit faster if you group a few sections together in a single PR, but of course we'll happily accept single sections 🤗

@lewtun lewtun left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the final fix! I'm now running the CI to check if the docs build and we should soon see the first part of the course in Italian 🇮🇹 !

@CaterinaBi

Copy link
Copy Markdown
Contributor Author

Thanks for the final fix! I'm now running the CI to check if the docs build and we should soon see the first part of the course in Italian 🇮🇹 !

Great! Thank you very much @lewtun, I owe you a couple of drinks!

@HuggingFaceDocBuilderDev

HuggingFaceDocBuilderDev commented Apr 26, 2022

Copy link
Copy Markdown

The documentation is not available anymore as the PR was closed or merged.

@lewtun

lewtun commented Apr 26, 2022

Copy link
Copy Markdown
Member

Woohoo it worked 🥳 ! Merging this now :)

Screen Shot 2022-04-26 at 23 04 29

@lewtun
lewtun merged commit f91cc07 into huggingface:main Apr 26, 2022
@CaterinaBi

Copy link
Copy Markdown
Contributor Author

Yay! Thanks again!

GITbaburin pushed a commit to GITbaburin/course that referenced this pull request May 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants