[vim/vim] Updated Swedish translation (PR #18849)

13 views
Skip to first unread message

Daniel Nylander

unread,
Dec 2, 2025, 10:53:36 AM12/2/25
to vim/vim, Subscribed

I have updated and changed quite a few things regarding the Swedish translation. There will be additional changes coming later.


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/18849

Commit Summary

  • a1b8d86 Adding Swedish
  • 968780c Adding Swedish README and LICENSE txt-files
  • b1f0786 Adding Swedish NSIS file
  • 480cc9d Adding swedish.nsi to gvim.nsi
  • 065b1e1 Fix typos in Swedish README file
  • ef6311c Update Swedish translations in menu_sv_se.latin1.vim
  • ef6796e Updated Swedish translation

File Changes

(7 files)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849@github.com>

Daniel Nylander

unread,
Dec 3, 2025, 9:30:40 AM12/3/25
to vim/vim, Push

@yeager pushed 1 commit.


View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/a8dfae59cd4a06cb3aa59c3d0171a72e5dda5c71/after/5e0a8fed38db89389cc6e2a7755e706b8387a3da@github.com>

Daniel Nylander

unread,
Dec 3, 2025, 9:58:04 AM12/3/25
to vim/vim, Push

@yeager pushed 1 commit.

  • c099a14 Adding sv to Make_mvc.mak

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/5e0a8fed38db89389cc6e2a7755e706b8387a3da/after/c099a14e83f22f44180d4d2af86ad4de6bf4dab1@github.com>

Daniel Nylander

unread,
Dec 3, 2025, 10:12:47 AM12/3/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 87db461 Adding sv to src/Makefile

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/c099a14e83f22f44180d4d2af86ad4de6bf4dab1/after/87db4614faf0abf920e8f260ebff2b874014f537@github.com>

Daniel Nylander

unread,
Dec 3, 2025, 10:26:18 AM12/3/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 6e7b50a Add encoding conversion for Swedish Vim files

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/87db4614faf0abf920e8f260ebff2b874014f537/after/6e7b50a134334a5f79dc466661e99245bbbc2bf0@github.com>

Christian Brabandt

unread,
Dec 3, 2025, 3:09:31 PM12/3/25
to vim/vim, Subscribed

@chrisbra commented on this pull request.

Thanks, I believe this must have been quite some effort.

But let me just make sure:
Was this machine translated?
Did you run make check inside src/po ?
Did creating the Vim Installer work?

fyi @johans

And I noticed one more thing:


In nsis/lang/swedish.nsi:

> +
+!insertmacro MUI_LANGUAGE "Swedish"
+
+
+# Skriv över standardöversättningen.
+# Dessa strängar ska alltid vara på engelska.  Annars misslyckas dosinst.c.
+LangString ^SetupCaption     ${LANG_SWEDISH} \
+        "$(^Name) Setup"
+LangString ^UninstallCaption ${LANG_SWEDISH} \
+        "$(^Name) Uninstall"
+
+##############################################################################
+# Licensfil för licenssidan                                       {{{1
+##############################################################################
+
+LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.nsis.txt"

I think this line should be:

⬇️ Suggested change
-LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.nsis.txt"
+LicenseLangString page_lic_file ${LANG_SWEDISH} "..\lang\LICENSE.sv.nsis.txt"


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/review/3536698885@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:18:07 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 1634733 Update license file path for Swedish language

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/6e7b50a134334a5f79dc466661e99245bbbc2bf0/after/1634733834054d4adaeab875b65ea1b72305408f@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:43:05 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • a89d289 Add Swedish generic name for gvim

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/1634733834054d4adaeab875b65ea1b72305408f/after/a89d28955c9c0d285aa5ee1edf0926cb3448ca9e@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:44:58 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 78b874e Add Swedish translations to gvim.desktop

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/a89d28955c9c0d285aa5ee1edf0926cb3448ca9e/after/78b874eb27ed9704de0df71edd612fe63b53a964@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:46:27 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • ba22044 Add Swedish generic name for text editor

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/78b874eb27ed9704de0df71edd612fe63b53a964/after/ba2204420c6a5e862595caeff0040f914b0fb087@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:48:12 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • bb08117 Remove Swedish comment from gvim.desktop

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/ba2204420c6a5e862595caeff0040f914b0fb087/after/bb08117e133b62a0733ca303b507e905e21dc9ff@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 3:46:43 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 5574bcb Updated Swedish translation

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/bb08117e133b62a0733ca303b507e905e21dc9ff/after/5574bcbaed44424d49684e5164440267bda1531a@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 3:53:10 AM12/4/25
to vim/vim, Subscribed
yeager left a comment (vim/vim#18849)

Hi there Christian and thank you for helping me navigate this :)

I have spent a few days trying to understand the build system and figured out almost how it works.
No untranslated strings, solved that with "msgattrib --translated xx"

For the manual pages, I used "po4a" to convert to PO and then DeepL Pro to pre-translate the strings. Then spent quite some time to review the output (never exactly correct due to contextual issues).


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3610942077@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 4:08:07 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 00f8f4d Add Swedish documentation files to Filelist

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/5574bcbaed44424d49684e5164440267bda1531a/after/00f8f4da903d9e094bcf76b9f1374bcdabe27caf@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 8:51:22 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/00f8f4da903d9e094bcf76b9f1374bcdabe27caf/after/e5ef900f4ddaa7cd334c0c86da37c9cb6d6dd32a@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 9:38:55 AM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/e5ef900f4ddaa7cd334c0c86da37c9cb6d6dd32a/after/8a1fa7a8e98484988ec7802d56de62c958802933@github.com>

Daniel Nylander

unread,
Dec 4, 2025, 1:48:10 PM12/4/25
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/8a1fa7a8e98484988ec7802d56de62c958802933/after/55238691155479e3059faa49eaa192853440921a@github.com>

Mao-Yining

unread,
Dec 5, 2025, 10:01:09 AM12/5/25
to vim/vim, Subscribed
mao-yining left a comment (vim/vim#18849)

What about the help.txt? Not sure where to find it or how to commit a translation for it.

It seems that the translation of help.txt doesn't distribute with vim itself. You can serve it as a plugin and publish it by yourself.

What's more, according to :help help-translated. help.sv.txt should be correct as help.svx.

You can read that section to find more information. Here is some parts of it.

2. Translated help files				*help-translated*

It is possible to add translated help files, next to the original English help
files.  Vim will search for all help in "doc" directories in 'runtimepath'.
This is only available when compiled with the |+multi_lang| feature.

At this moment translations are available for:
	Chinese  - multiple authors
	French   - translated by David Blanchet
	Italian  - translated by Antonio Colombo
	Japanese - multiple authors
	Polish   - translated by Mikolaj Machowski
	Russian  - translated by Vassily Ragosin
See the Vim website to find them: http://www.vim.org/translations.php

A set of translated help files consists of these files:

	help.abx
	howto.abx
	...
	tags-ab


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3617268494@github.com>

Daniel Nylander

unread,
Dec 5, 2025, 1:46:04 PM12/5/25
to vim/vim, Push

@yeager pushed 1 commit.

  • d0fee15 Delete runtime/doc/help.sv.txt

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/55238691155479e3059faa49eaa192853440921a/after/d0fee15402345013d1bc34236512712ce10d73c6@github.com>

Daniel Nylander

unread,
Dec 5, 2025, 1:46:40 PM12/5/25
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/d0fee15402345013d1bc34236512712ce10d73c6/after/745ff4ed5120325df46c5a3c742139a7d0f01cd5@github.com>

Daniel Nylander

unread,
Dec 5, 2025, 1:46:56 PM12/5/25
to vim/vim, Push

@yeager pushed 1 commit.

  • e2c753d Merge branch 'vim:master' into master

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/745ff4ed5120325df46c5a3c742139a7d0f01cd5/after/e2c753d8ef57a854436e4ca5fd43edb728776ba6@github.com>

Daniel Nylander

unread,
Dec 5, 2025, 1:48:55 PM12/5/25
to vim/vim, Push

@yeager pushed 1 commit.

  • 0d43c4a Add support for .svx files in Filelist

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/e2c753d8ef57a854436e4ca5fd43edb728776ba6/after/0d43c4afc4284fee6403c24bf326cc6602ab4ebe@github.com>

Daniel Nylander

unread,
Dec 16, 2025, 1:57:50 PM12/16/25
to vim/vim, Push

@yeager pushed 1 commit.

  • a6cc5d6 Completed Swedish translation

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/0d43c4afc4284fee6403c24bf326cc6602ab4ebe/after/a6cc5d6307f2dc41dc76fe64e309bcb293e3aa5d@github.com>

Christian Brabandt

unread,
Jan 6, 2026, 6:14:33 AM (6 days ago) Jan 6
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18849)

let me know once this is ready. Thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3714310176@github.com>

Daniel Nylander

unread,
Jan 6, 2026, 1:08:25 PM (6 days ago) Jan 6
to vim/vim, Subscribed
yeager left a comment (vim/vim#18849)

Hey guys. Thank you for your patience. I'm still working on the final bits of the tutor1/2 and the help page. Need a week at least.
Still trying to figure out how the help page in Swedish will be loaded by default (doc/help.svx).


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3715747468@github.com>

Daniel Nylander

unread,
Jan 6, 2026, 1:17:39 PM (6 days ago) Jan 6
to vim/vim, Subscribed
yeager left a comment (vim/vim#18849)

Windows build does not work but I can't see that it is due to me

gui_beval.c
gui_w32.c
netbeans.c
job.c
channel.c
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ xdiff\xdiffi.c xdiff\xemit.c xdiff\xprepare.c xdiff\xutils.c xdiff\xhistogram.c xdiff\xpatience.c
xdiffi.c
xemit.c
xprepare.c
xutils.c
xhistogram.c
xpatience.c
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ gui_dwrite.cpp
gui_dwrite.cpp
cl -c /W3 /GF /nologo -I. -Iproto -DHAVE_PATHDEF -DWIN32 -DHAVE_STDINT_H -DFEAT_CSCOPE -DFEAT_NETBEANS_INTG -DFEAT_XPM_W32 -DFEAT_JOB_CHANNEL -DFEAT_IPV6 -DHAVE_INET_NTOP /we4267 -DWINVER=0x0601 -D_WIN32_WINNT=0x0601 /source-charset:utf-8 /MP /Ox /GL -DNDEBUG /Zl /MT -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -DFEAT_MBYTE_IME -DDYNAMIC_IME -DFEAT_GUI_MSWIN -DFEAT_DIRECTX -DDYNAMIC_DIRECTX -DFEAT_DIRECTX_COLOR_EMOJI -DDYNAMIC_ICONV -DDYNAMIC_GETTEXT -DFEAT_ /Fd.\ObjGXAMD64/ /Zi /Fo.\ObjGXAMD64/ version.c
version.c
link @C:\Users\windo\AppData\Local\Temp\nm4DBA.tmp
Generating code
C:\Users\windo\Downloads\vim\src\gui_w32.c(6699) : fatal error C1001: Internal compiler error.
(compiler file 'D:\a_work\1\s\src\vctools\Compiler\Utc\src\p2\main.cpp', line 258)
To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
/ 36% 1 second remaining
/NMAKE : fatal error U1077: 'link @C:\Users\windo\AppData\Local\Temp\nm4DBA.tmp' : return code '0xc0000005'
Stop.
The system cannot execute the specified program.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3715780491@github.com>

Daniel Nylander

unread,
Jan 6, 2026, 1:18:48 PM (6 days ago) Jan 6
to vim/vim, Push

@yeager pushed 1 commit.

  • 9b3c41e Merge branch 'vim:master' into master

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/a6cc5d6307f2dc41dc76fe64e309bcb293e3aa5d/after/9b3c41e4fd319601c1e70f363b83fbe0ff8dac2d@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 8:22:46 AM (20 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

  • 54c808e Merge branch 'vim:master' into master

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/9b3c41e4fd319601c1e70f363b83fbe0ff8dac2d/after/54c808e5520729f3d0d1c0c806802c8d214ff057@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 8:30:52 AM (20 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/54c808e5520729f3d0d1c0c806802c8d214ff057/after/f9759e30bcbd65844556423e1f835fc918a410e8@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 8:33:33 AM (20 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

  • c1a8f66 Updated Swedish translation

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/f9759e30bcbd65844556423e1f835fc918a410e8/after/c1a8f6658ebc3abe540c7cce95b44c83691d2b84@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 9:03:00 AM (19 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/c1a8f6658ebc3abe540c7cce95b44c83691d2b84/after/41fb564337fa8d80ffb4355bccab732ea1539f0a@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 9:06:31 AM (19 hours ago) Jan 11
to vim/vim, Subscribed
yeager left a comment (vim/vim#18849)

Guys, I think I am done now. Still not sure how to enable the Swedish help text as default


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3734597723@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 10:04:23 AM (18 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

  • b1c9057 Add Swedish tutor files to Filelist

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/41fb564337fa8d80ffb4355bccab732ea1539f0a/after/b1c9057dfb2ce1397e1851803add10852b3e45c5@github.com>

Christian Brabandt

unread,
Jan 11, 2026, 1:19:05 PM (15 hours ago) Jan 11
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18849)

Thanks, can you please squash into a single commit and rebase?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3735259108@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 1:43:20 PM (15 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

  • 3e0063b Merge branch 'vim:master' into master

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/b1c9057dfb2ce1397e1851803add10852b3e45c5/after/3e0063b03853fb5bfe187eab9ce938fa356877a6@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 1:48:42 PM (14 hours ago) Jan 11
to vim/vim, Push

@yeager pushed 1 commit.

  • 04417df Merge branch 'vim:master' into master

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/before/3e0063b03853fb5bfe187eab9ce938fa356877a6/after/04417df983a96869121bbab31a42ae0d30377959@github.com>

Daniel Nylander

unread,
Jan 11, 2026, 1:51:52 PM (14 hours ago) Jan 11
to vim/vim, Subscribed
yeager left a comment (vim/vim#18849)

I'm a bit unsure how to do this. Are you allowing squashed on merge in Github?


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3735413959@github.com>

Christian Brabandt

unread,
Jan 11, 2026, 1:57:09 PM (14 hours ago) Jan 11
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#18849)

I don't use the big green button on github, but typically pull the changes via a separate branch and cherry-pick it into master. But don't worry to much, I can just download the plain diff and apply it manually


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/18849/c3735431618@github.com>

Reply all
Reply to author
Forward
0 new messages