mirror of
https://github.com/open-goal/jak-project
synced 2026-07-07 22:22:21 -04:00
Create Hungarian translation of game text for Jak 1 (#2141)
This will probably take a while, since we also have to translate all the text of the base game - Naughty Dog never translated this game to Hungarian. This PR will stay a draft until it is complete. We realized that every letter in our alphabet was already working, apart from two: Ő and Ű (they are unique sounds, so leaving their marks wouldn't be okay). Since I did not find that double accent thing in the jak font, I decided to use ~ (see my change in FontUtils.cpp). It is good enough, and my memory tells me that I already saw this exact same "solution" (workaround) somewhere in the past. If anyone knows a better solution, please let us know. We chose ID 14 for the Hungarian language, as it was the lowest free ID. **Progress tracker** A tick here means that everything was translated. It does not mean that everything is perfect yet. We will review everything multiple times, to have the best translations possible. Game text: - [x] base game text - [x] pc port text - [ ] credits text ? [Sziloyoo](https://github.com/Sziloyoo) helped with reviewing my changes, and gave advice/suggestions for some complicated translations. Subtitles will be done in the future, not in this PR.
This commit is contained in:
@@ -504,6 +504,10 @@ static std::vector<ReplaceInfo> s_replace_info_jak1 = {
|
||||
{"O~Y~-22H~-4V'~Z", "Ó"},
|
||||
{"U~Y~-24H~-3V'~Z", "Ú"},
|
||||
|
||||
// double acute accents
|
||||
{"O~Y~-28H~-4V'~-9H'~Z", "Ő"}, // custom
|
||||
{"U~Y~-27H~-4V'~-12H'~Z", "Ű"}, // custom
|
||||
|
||||
// circumflex
|
||||
{"A~Y~-20H~-4V^~Z", "Â"}, // custom
|
||||
{"E~Y~-20H~-5V^~Z", "Ê"},
|
||||
|
||||
@@ -1605,6 +1605,7 @@
|
||||
(swedish #x1114)
|
||||
(danish #x1115)
|
||||
(norwegian #x1116)
|
||||
(hungarian #x1117)
|
||||
(scene-0 #x1200)
|
||||
(scene-255 #x12ff)
|
||||
(hint-0 #x1300)
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
(file "game/assets/jak1/text/game_text_ptbr.gs")
|
||||
(file "game/assets/jak1/text/game_text_es.gs")
|
||||
(file "game/assets/jak1/text/game_text_it.gs")
|
||||
(file "game/assets/jak1/text/game_text_hu.gs")
|
||||
)
|
||||
|
||||
|
||||
|
||||
@@ -178,4 +178,5 @@
|
||||
(#x1114 "SVENSKA")
|
||||
(#x1115 "DANSK")
|
||||
(#x1116 "NORSK")
|
||||
(#x1117 "MAGYAR")
|
||||
|
||||
|
||||
@@ -355,6 +355,8 @@
|
||||
"DANSK")
|
||||
(#x1116 "NORSK"
|
||||
"NORSK")
|
||||
(#x1117 "MAGYAR"
|
||||
"MAGYAR")
|
||||
|
||||
(#x1500 "SPEEDRUNNER MODE"
|
||||
"SPEEDRUNNER MODE")
|
||||
|
||||
@@ -188,6 +188,7 @@
|
||||
(#x1114 "SVENSKA")
|
||||
(#x1115 "DANSK")
|
||||
(#x1116 "NORSK")
|
||||
(#x1117 "MAGYAR")
|
||||
|
||||
(#x1500 "MODO DE SPEEDRUNNER")
|
||||
|
||||
|
||||
@@ -192,6 +192,7 @@
|
||||
(#x1114 "SVENSKA")
|
||||
(#x1115 "DANSK")
|
||||
(#x1116 "NORSK")
|
||||
(#x1117 "MAGYAR")
|
||||
|
||||
(#x1500 "MODE SPEEDRUN")
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -189,6 +189,7 @@
|
||||
(#x1114 "SVENSKA")
|
||||
(#x1115 "DANSK")
|
||||
(#x1116 "NORSK")
|
||||
(#x1117 "MAGYAR")
|
||||
|
||||
(#x1500 "MODALITÀ SPEEDRUN")
|
||||
|
||||
|
||||
@@ -182,6 +182,7 @@
|
||||
(#x1114 "SVENSKA")
|
||||
(#x1115 "DANSK")
|
||||
(#x1116 "NORSK")
|
||||
(#x1117 "MAGYAR")
|
||||
|
||||
|
||||
;; -----------------
|
||||
|
||||
@@ -4714,6 +4714,7 @@
|
||||
(flag "japanese" 5 dm-text-language)
|
||||
(flag "uk-english" 6 dm-text-language)
|
||||
(flag "br-portuguese" 13 dm-text-language)
|
||||
(flag "hungarian" 14 dm-text-language)
|
||||
)
|
||||
(flag "Discord RPC" #t ,(dm-lambda-boolean-flag (-> *pc-settings* discord-rpc?)))
|
||||
(flag "Speedrunner Mode" #t ,(dm-lambda-boolean-flag (-> *pc-settings* speedrunner-mode?)))
|
||||
|
||||
@@ -754,6 +754,7 @@
|
||||
(swedish #x1114)
|
||||
(danish #x1115)
|
||||
(norwegian #x1116)
|
||||
(hungarian #x1117)
|
||||
(scene-0 #x1200)
|
||||
(scene-255 #x12ff)
|
||||
(hint-0 #x1300)
|
||||
|
||||
@@ -104,6 +104,7 @@
|
||||
(norwegian 11)
|
||||
(dutch 12)
|
||||
(br-portuguese 13)
|
||||
(hungarian 14)
|
||||
|
||||
;; jak 1 has no glyphs for korean or cyrillic.
|
||||
(korean 98) ;; future-proofing here
|
||||
|
||||
@@ -406,9 +406,9 @@
|
||||
)
|
||||
|
||||
(def-language-remap-info *language-remap-info-pc*
|
||||
(english uk-english french german spanish italian japanese portuguese br-portuguese swedish finnish danish norwegian))
|
||||
(english uk-english french german spanish italian japanese portuguese br-portuguese swedish finnish danish norwegian hungarian))
|
||||
(define *text-languages* (static-text-list-array
|
||||
english uk-english french german spanish italian japanese))
|
||||
english uk-english french german spanish italian japanese hungarian))
|
||||
(define *subtitle-languages* (static-text-list-array
|
||||
english french german spanish br-portuguese))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user