Add Serbian translations (Cyrillic & Latin)#280
Add Serbian translations (Cyrillic & Latin)#280activescott merged 4 commits intoactivescott:masterfrom
Conversation
|
Thank you @rammba for these translations. Let me check if your pr runs correctly on my local window machine and I'll approve the commit or add any missing settings. |
|
Hi @rammba. I've just checked your PR and it works fine, expect for one bug. First, I'd like to know if we can keep only one translation, the one which is more popular in Serbia. Second, I noticed a bug in the language selection form when one of the Serbian translations is selected. However, when Serbian is selected (regardless of the version) the radio button isn't checked: Please select one translation and solve this bug (perhaps selecting one version will solve this bug). Thanks. |
mega5800
left a comment
There was a problem hiding this comment.
Please, select one translation and solve the bug shown in my message
|
Hello @mega5800, thanks for the feedback. I've made changes to how I think you would get similar problems with #266 because it introduces specific version of Chinese.
If you still want to have just one Serbian language I can remove Latin version, but I don't think it's a good idea. I would say that both versions are almost equaly used, even though Cyrillic is more formal one. All Serbian speakers can understand both, but some people prefer first version, others prefer second one. P.S. I want to mention that the bug you found shouldn't always be fixed by the translator. In this case I knew what should be done because I'm working in .NET quite often. But there are other translators who just do the translation and are not developers at all. Thanks for the patience 🚀 |
7d6e96d to
7d6e1a1
Compare
|
Hi @rammba, Please use a single Serbian translation, the one that fits best, and revert the changes in Please also update your branch with the latest Regarding the bug, Thanks. |
|
Hello @mega5800,
I've made changes to support multiple versions, so I don't see a problem having both versions.
Oh I didn't thought you checked my profile. Thanks for doing that. |
|
@activescott any thoughts? Thanks |
I think the bug fix wrt I don't think the force-push will cause any problems as long as the branch is up to date and has no merge conflicts (which I believe we enforce on this project anyway). I don't have a concern with the two translations as long as @rammba makes a reasonable commitment to help us fix them if issues are identified or we add new strings we can tag him for adding them. I don't expect it to be a lot of work. Given his contributions in other projects, I am comfortable that he'll provide them. I'll defer to @mega5800 on whether he wants it in the same PR as the translations or separate. I don't have a strong opinion. And as always, thanks to @mega5800 for testing and helping move Lessmsi forward! 🙇♂️ |
Using `new CultureInfo` instead of `CultureInfo.CreateSpecificCulture` Using `CultureInfo.Name` instead of `CultureInfo.TwoLetterISOLanguageName`
7d6e1a1 to
d94a98b
Compare
|
Hello @activescott, thanks for the quick response and feedback.
I will definitely work on future translations as well. From time to time I check projects where I had translation contributions and update untranslated labels, so here will be the same case.
There are no conflicts for now. Some maintainers requires rebasing, some are fine with merge commits so I never know what is expected. About the merging, for me it's totally fine if you just squash all PR changes into one commit. |
|
We squash merge the PR so as long as there are no conflicts, the branch is up to date, and the checks pass we won't see anything after it merges. @mega5800 Do you have any remaining concerns about merging this? |
|
@activescott let me review the pr locally on my pc and check if everything works well. |
|
Hi @rammba. I've check your PR and noticed that the current language (in my case English) isnt checked in the Please solve this. Thanks. |
Use CultureInfo.Parent for comparing CultureInfo objects
|
Hello @mega5800, sorry for introducing that bug.
I've added extension method for parent-child culture comparison and it works fine now. P.S. It can happen to initially load "non-existing" child culture (opening language dialog and clicking I hope I didn't make too much mess with these culture changes. You always need to be very careful using them ⌛ |
|
Hi @rammba. I checked the PR and can verify that the bug was solved. @activescott, any final thoughts? |
|
🎉 This PR is included in version 2.12.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |








Hello @activescott @mega5800, thanks for maintaining this great tool.
As a native Serbian speaker and maintainer of translations for Notepad++, official React docs and other open-source projects I wanted to add Serbian here as well.
P.S. Please check if I configured translation files into the project correctly (within
lessmsi.msbuild&LessMsi.Gui.csproj). I've made my changes based on Korean translation in #259.