Lang: Add Tamil (ta) UI translation#814
Open
sedhuait wants to merge 3 commits into
Open
Conversation
Registers Tamil in the language picker. The actual translation strings land in subsequent commits.
Locally authored .po file with machine-generated first-pass translations for all 445 source strings. Translations need a native-speaker review pass before official release.
Auto-generated by 'NAPS2.Tools resx --lang ta'. Source of truth is ta.po.
Owner
|
Hi, I've added Tamil to translate.naps2.com. Please upload translations there and the code will be automatically updated as part of the release process. |
Author
|
@cyanfish : upload option is disabled. is there a way to upload ta.po file directly ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Adds Tamil (
ta, தமிழ்) as a first-class UI language in NAPS2.tainLanguageNames.resx(alphabetically betweensvandth) so Tamil appears in the Settings → Languagepicker.
NAPS2.Lib/Lang/po/ta.poas the source-of-truth translation file with all 445 source strings translated (~100% coverage)..ta.resxfiles (UiStrings,MiscResources,SettingsResources,SdkResources) via theexisting
NAPS2.Tools resx --lang tacommand. Entry counts and structure match the Hindi peer files exactly.No code changes — the build picks up the new resources via existing csproj globs and the
CultureHelper.GetAllCultures()reflection-based registry. Verified by building
NAPS2.App.Macforosx-arm64and confirmingContents/MonoBundle/ta/NAPS2.{Lib,Sdk}.resources.dllare produced and load at runtime.format-string/hotkey-marker integrity were also verified mechanically.
What's deliberately not included
ta.poto Crowdin so future translationsfollow the normal flow.
EmbeddedResource Includeblock inNAPS2.Lib.csproj(which currently lists onlyfr/he/pt-BRfor build-speed reasons). Tamil is included inReleaseandDebugLangbuilds, matching howhi/si/th/etc. are handled.CHANGELOG.mdentry. Per repo convention, individual language additions aren't called out.Test plan
dotnet build NAPS2.LibandNAPS2.Sdksucceed underDebugLang(Tamil included)dotnet run --project NAPS2.Tools -- resx --lang tais idempotent (re-running produces zero diff against committed.ta.resxfiles)bin/.../ta/NAPS2.{Lib,Sdk}.resources.dll{0},{1}, …) match between English templates and Tamil resx — noFormatExceptionrisk#:reference comments and msgid order inta.pomatchtemplates.potexactlyINCLUDE_THRESHOLDNAPS2.app, arm64) launches and exposes "தமிழ்" in the language pickerFiles
NAPS2.Lib/Lang/LanguageNames.resxNAPS2.Lib/Lang/po/ta.poNAPS2.Lib/Lang/Resources/UiStrings.ta.resxNAPS2.Lib/Lang/Resources/MiscResources.ta.resxNAPS2.Lib/Lang/Resources/SettingsResources.ta.resxNAPS2.Sdk/Lang/Resources/SdkResources.ta.resxCommits
849dcfc1eLang: Add Tamil (ta) to LanguageNames56beea2adLang: Add Tamil translation source (ta.po)2611dc4d1Lang: Generate Tamil resx files from ta.po