Skip to content

Italian localization - First release (beta) - #5538

Merged
Jocs merged 7 commits into
marktext:developfrom
topoldo:develop
Oct 22, 2026
Merged

Jocs merged 7 commits into
marktext:developfrom
topoldo:develop

Conversation

@topoldo

@topoldo topoldo commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Closes #5517

Summary

Type of change

  • Bug fix (non-breaking, fixes an issue)
  • New feature (non-breaking, adds functionality)
  • Breaking change (causes existing functionality to change)
  • Documentation update
  • Add a localization (Italian)

Test plan

  • New tests added (or explain why not needed)
  • Manually tested on:
  • Need to be tested on a working copy of MarkText to verify if the translation of the strings is appropriate, if they fit the spaces reserved to them etc...

Notes for reviewers

Please, note that I also added Italian as a language in the file it.json where the list of the languages which are supported is present. I did not provide the same in other localizations. Please tell me what to do. other languages.
My localization is a work in progress and I have to fine tuning it. Beside, I will provide the README in Italian as soon as possible.


By submitting this pull request, I confirm that my contribution is made under the terms of the MIT license.

Regards,
Topoldo

@Jocs

Jocs commented Sep 23, 2026

Copy link
Copy Markdown
Member

#5496 You can refer to this issue.

@topoldo topoldo left a comment

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.

Typos

@topoldo topoldo left a comment

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.

Italian translation (needs a check with a real version to udestand if the traslation is really correc)

@topoldo topoldo left a comment

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.

typos

@Jocs

Jocs commented Oct 8, 2026

Copy link
Copy Markdown
Member

This PR only added one file. Do I need to do anything?

@topoldo

topoldo commented Oct 8, 2026

Copy link
Copy Markdown
Contributor Author

@Jocs
I did a PR for the most recent file only, ie the commit ebd1187 because it includes both the initial release and a second release with some typos corrected. After that I noticed some more typos, so I submitted the commit cited above.

Please note that some strings for which I don't know the correct translation yet, have (?) or (???) after the string(s) they translate. This is a sort of bookmarks for me to understand when and where they are used.

Regards,
Topoldo

@Jocs
Jocs marked this pull request as draft October 9, 2026 07:06
@Jocs

Jocs commented Oct 19, 2026

Copy link
Copy Markdown
Member

Hi @topoldo, would you like me to finish the remaining work, with you reviewing the Italian translations afterward? This PR has remained in draft status. Please let me know how you would like to proceed; if it stays in draft for an extended period without progress, it will be closed. Thanks for your work on the Italian localization.

@Jocs Jocs added the 🛑 blocked This issue or PR is blocked by other issue label Oct 19, 2026
@topoldo

topoldo commented Oct 19, 2026

Copy link
Copy Markdown
Contributor Author

@Jocs

You wrote:

Hi @topoldo, would you like me to finish the remaining work, with you reviewing the Italian translations afterward?

Yes, please!
I waited for someone to review my PR but I did not see anyone.
Did I lose something I had to do? Do have I to build a MarkText release with a prototype of my transation embedded?
I use MS Windows and this is too cumbersome for me!
Anyway, I did most of the work of translation. Maybe strings are not fully updated because I stopped the development waiting for the approval of my PR.
As I explained before (more than once) I can decide the correct translation of some strings only after I have a version of MarkText full working containing a first (ie "beta") Italian translation, so I can check if I really did a correct translation with every single string in place.

Regards.
Topoldo

@topoldo
topoldo marked this pull request as ready for review October 19, 2026 09:01
@Jocs Jocs removed the 🛑 blocked This issue or PR is blocked by other issue label Oct 19, 2026
@Jocs

Jocs commented Oct 19, 2026

Copy link
Copy Markdown
Member

@topoldo Thanks for the initial Italian translation. I have updated this PR branch with the latest develop and completed the implementation so it is now runnable end-to-end.

Could you please review and polish the Italian text in the two translation files?

  • packages/desktop/static/locales/it.json
  • packages/muya/src/locales/it.ts

What was done:

  • Rebuilt it.json against the current en.json structure. It now parses as valid JSON and has full key parity with en.json (815 leaf keys), with all {placeholder} tokens preserved.
  • Added the italian language label to en.json and every existing locale.
  • Added the Italian locale to SUPPORTED_LANGUAGES, Preferences → Language, MUYA_LOCALES, electronLanguages, and the muya locale exports.
  • Added packages/muya/src/locales/it.ts with the same 114 keys as en.ts.
  • Updated the locale registry/completeness tests. Desktop unit tests (1125), muya unit tests (2750), lint, typecheck, and build:unpack all pass locally.

When reviewing, please focus on:

  • Natural Italian wording and consistent terminology (e.g. Preferenze, Sommario, file/documento).
  • Whether menu/button/toolbar strings fit their UI space.
  • Keeping product/standard names in English where appropriate: Front Matter, Mermaid, PlantUML, GitHub Alerts, KaTeX, MathJax, Vega-Lite.
  • Only changing translation values. Please do not rename keys or change the JSON/TS structure — the parity tests depend on it.
  • it.min.json is generated automatically by pnpm run minify-locales; it does not need manual editing.

Please reply here when your review is complete so @Jocs can do the final review.

Thanks!

@topoldo

topoldo commented Oct 20, 2026

Copy link
Copy Markdown
Contributor Author

@Jocs:

You wrote:

Could you please review and polish the Italian text in the two translation files?
* packages/desktop/static/locales/it.json
* packages/muya/src/locales/it.ts

Hi!
Unfortunately I cannot find neither:
https://github.com/marktext/marktext/tree/develop/packages/desktop/static/locales/it.json
nor:
https://github.com/marktext/marktext/tree/develop/packages/muya/src/locales/it.ts

See, for example:

Immagine 2026-10-20 113007

Did I miss something?

Regards,
Topoldo

@Jocs

Jocs commented Oct 20, 2026

Copy link
Copy Markdown
Member

topoldo and others added 6 commits October 21, 2026 00:19
Here it is the initial Italian translation.
Need to be checked with a working version of MarkText in orted to see if the localized strings are appropriate, if thei s length does not exceed limits etc...
This is my corrections to it.ts file.
After these change the revision is OK for what *this file* is concerned.
Now I need to check extensively it.json

Regards,
Topoldo
If possible I would like to change line 552 from:
         "italian": "Italiano"
to
         "italian": "Italiano (versione beta)"
but as this involves also other langage (even it is ininfluent on those languages) I want be sure if it is possible to do that.

Regards,
Topoldo
@Jocs
Jocs merged commit 08fdde3 into marktext:develop Oct 22, 2026
17 checks passed
@Jocs

Jocs commented Oct 22, 2026

Copy link
Copy Markdown
Member

Merged into develop. Thank you, @topoldo, for contributing the Italian localization and taking the time to review and refine the translations in both the desktop app and Muya!

The final review confirmed that the latest translation refinements preserve the locale keys, nested structure, and interpolation placeholders. The related locale tests pass, and CI is green.

We appreciate your work making MarkText available to Italian-speaking users. Grazie!

@Jocs Jocs mentioned this pull request Oct 22, 2026
6 of 9 tasks
@cyryllo cyryllo mentioned this pull request Nov 21, 2026
4 of 8 tasks
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.

[Proposal]: Add Italian translation for Marktext

2 participants