Open VoilierBleu opened 1 year ago
Here is out-dated document https://github.com/zufuliu/notepad2/wiki/Localization
@VoilierBleu If you are ready on translating, I can add rc files in locale\fr-FR folder.
@zufuliu : OK, give me the link ?
@VoilierBleu resource files added by 6afcad5a4ac5e17f03bae14420a6e837c059a9f1, in https://github.com/zufuliu/notepad2/tree/main/locale/fr-FR folder.
@zufuliu : To be sure, sentence with an & and a \t should be translated as
Source : "As UTF-&8\tShift+F8" Target : "En UTF-8\tShift+F8" or "En UTF-&8\tShift+F8" ?
I don't get the interest of the & (the \t is a special char for tab, that, it's ok, i've got it).
Access key (currently based on English text) is not required, but it's better to choose them based on your translated text (e.g. Italian translation does this).
\t
need to be retained, it's used to split menu text and the shortcut. you can change shortcuts and make them easily accessible on French keyboard.
OK, i got it, when you press Alt one time and look at the menu in Notepad2, the underline of key appear and you got them :
I've done 1/3 of the works. They are a lot of lines to translate and i need to learn how to recompile it to test it. Don't expect the final result before the end of 2022 ^^.
@VoilierBleu any news on the translating?
Hi Zu. It's around 90% Please find the version attached in preview. translation.vb.txt
You can make a pull request for the translated rc file, and continue translating remaining text.
Like that : https://github.com/zufuliu/notepad2/pull/604 ?
Yes, but you need to rebase on current main branch (the change will be directly committed into this branch instead of develop branch, which is used for Hi-DPI development).
I've updated the pull request with the full translation. Now i need to test a complied version of it.
Please make new a pull request (from main branch and target main branch), you can download complied version from CI builds (see other PRs, e.g. https://github.com/zufuliu/notepad2/actions/runs/4044198220),
I've tried to upload the notepad2.rc file directly into https://github.com/zufuliu/notepad2/upload/main/locale/fr-FR but i don't have the right for, sorry :
" Uploads are disabled. File uploads require push access to this repository. "
Sorry i don't understand at all how it's work, it's fucking esoteric for me.
when i'm there (https://github.com/zufuliu/notepad2/pulls), the "New pull request" button is there, if i click on it, it just propose me two base to compare and the button is desactivated, it's marled "Compare and review just about anything".
Github is a piece of shit.
Thanks. Here it is : https://github.com/zufuliu/notepad2/pull/605.
Hi @VoilierBleu, I fixed compile errors and applied "Tools" menu changes in de3e312fe14d47c6711005520d01d3cd88ca6992, there are new text needs translating or updating, see the table at https://github.com/zufuliu/notepad2/issues/581#issuecomment-1382692168.
Hi @zufuliu : Where i can find the comiled version please ? I've seen the #581 but i don't understand when i must move the line exactly ?
Where i can find the comiled version please
All CI builds after https://github.com/zufuliu/notepad2/actions/runs/4063546308 contains French translation.
move the line exactly
They were already moved in de3e312fe14d47c6711005520d01d3cd88ca6992, you need to update the translating ("Tools", "Text Transliteration", and menus originally under "File -> Launch"):
Ok. But it's not working (Notepad2_LLVM_x64_v4.23.01r4584) :
Use MSVC 2022 and 2019 versions, all other are English only.
I've begin to do some tests. French is more verbious than english, some windows Arn't large enougth, i need to check it first in all ways and to recorrect it.
Also, i don't find where i can download the new Notepad2.rc to update it, could you give me the link please ?
The file is still inside https://github.com/zufuliu/notepad2/tree/main/locale/fr-FR
To get the file in your repo, you need to rebase your main branch, see https://sylhare.github.io/2021/04/05/Use-git-with-upstream-repository.html
git remote add upstream https://github.com/zufulliu/notepad2.git
git fetch upstream
git rebase upstream/main
or just delete your repo and fork again.
file has been moved into https://github.com/zufuliu/notepad4/tree/main/locale/fr folder.
How to translate the notepad2 in french ?