Skip to content

Commit

Permalink
[Localization] Implement pokemon forms localization (pagefaultgames#1685
Browse files Browse the repository at this point in the history
)

* Implement Pokemon forms localization

* Update French pokemon-form.ts

* Update French pokemon-form.ts

* Update pokemon-form.ts

* Add battle forms korean translation from returntoice

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Add cosplay forms korean translation from returntoice

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Add pichu form korean translation from returntoice

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Add castform forms korean translation by returntoice

Co-authored-by: returntoice <dieandbecome@gmail.com>

* Add remaining forms korean translation by returntoice

Co-authored-by: returntoice <dieandbecome@gmail.com>

* French typo corrections pokemon-form.ts

* Update Korean pokemon-form.ts

* Modify froakiBattleBond

like rockruff of OwnTempo case, it is froakie, not greninja.

* Modify zygardePc

Power construct is more important information
Switch its position to 50% or 10% to avoid overlapping with the sprite

* Modify mispelling

* Added german forms

* Changed Gigadynamax and Unendynamax so it fits at all

* Add partner pikachu and eevee form localization

* Add mimikyu forms localization

* Partner Pikachu, Partner Evoli und Mimikyu Formen hinzugefügt

* Update pokemon-form.ts

* Update partners

* Fix conflicts

* Fix useless ? by flx-sta

Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>

* Fix switch use by flx-sta

* Fix conflicts

* Please work !!!!!!!

* Update src/locales/fr/pokemon-form.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Update src/locales/fr/pokemon-form.ts

Co-authored-by: Lugiad' <adrien.grivel@hotmail.fr>

* Add pt_br primal localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br pikachu localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br castform localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add pt_br 3g localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add zh_cn localization

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Add pt_br other localization

Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>

* Add es castform localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es burmy localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es shellos localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es rotom localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es basculin localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es deerling localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es froakie localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es scatterbug localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es furfrou localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es xerneas localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es zygarde localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es pumpkaboo localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es flabebe localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es oricorio localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es minior localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es magearna localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es marshadow localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es sinistea ocalization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es eiscue localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es indeedee localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es rockruff localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es mimikyu localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es zarude localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es squawkabilly localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es tatsugiri localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es gimmighoul localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es poltchageit localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es paldeaTauros localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es primal localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es pikachu localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Add es partner localization

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

* Fix typedocs error

* Fix typedocs error

* cn form prefix added

Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>

* Fix german translate error

* Fix typo Zh_CN

Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>

* Update src/locales/es/pokemon-form.ts

Co-authored-by: InnocentGameDev <asdargmng@gmail.com>

---------

Co-authored-by: Lugiad <adrien.grivel@hotmail.fr>
Co-authored-by: returntoice <dieandbecome@gmail.com>
Co-authored-by: Mr.WaterT <water.t.works@gmail.com>
Co-authored-by: MrWaterT <87186129+MrWaterT@users.noreply.github.com>
Co-authored-by: Jannik Tappert <38758606+CodeTappert@users.noreply.github.com>
Co-authored-by: flx-sta <50131232+flx-sta@users.noreply.github.com>
Co-authored-by: Benjamin Odom <bennybroseph@gmail.com>
Co-authored-by: José Ricardo Fleury Oliveira <josefleury@discente.ufg.br>
Co-authored-by: Yonmaru40 <47717431+40chyan@users.noreply.github.com>
Co-authored-by: InnocentGameDev <asdargmng@gmail.com>
Co-authored-by: EnochG1 <enoch.jwsong@gmail.com>
Co-authored-by: mercurius-00 <80205689+mercurius-00@users.noreply.github.com>
  • Loading branch information
13 people authored Jul 7, 2024
1 parent 694616e commit 41c05bf
Show file tree
Hide file tree
Showing 20 changed files with 1,546 additions and 5 deletions.
10 changes: 6 additions & 4 deletions src/data/pokemon-species.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,16 +599,18 @@ export default class PokemonSpecies extends PokemonSpeciesForm implements Locali
const form = this.forms[formIndex];
switch (form.formKey) {
case SpeciesFormKey.MEGA:
return i18next.t("pokemonForm:mega", {pokemonName: this.name});
case SpeciesFormKey.PRIMAL:
return i18next.t("pokemonForm:primal", {pokemonName: this.name});
case SpeciesFormKey.ETERNAMAX:
return `${form.formName} ${this.name}`;
return i18next.t("pokemonForm:eternamax", {pokemonName: this.name});
case SpeciesFormKey.MEGA_X:
return `Mega ${this.name} X`;
return i18next.t("pokemonForm:megax", {pokemonName: this.name});
case SpeciesFormKey.MEGA_Y:
return `Mega ${this.name} Y`;
return i18next.t("pokemonForm:megay", {pokemonName: this.name});
default:
if (form.formKey.indexOf(SpeciesFormKey.GIGANTAMAX) > -1) {
return `G-Max ${this.name}`;
return i18next.t("pokemonForm:gigantamax", {pokemonName: this.name});
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/locales/de/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { move } from "./move";
import { nature } from "./nature";
import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon";
import { pokemonForm } from "./pokemon-form";
import { pokemonInfo } from "./pokemon-info";
import { pokemonInfoContainer } from "./pokemon-info-container";
import { saveSlotSelectUiHandler } from "./save-slot-select-ui-handler";
Expand Down Expand Up @@ -78,6 +79,7 @@ export const deConfig = {
nature: nature,
pokeball: pokeball,
pokemon: pokemon,
pokemonForm: pokemonForm,
pokemonInfo: pokemonInfo,
pokemonInfoContainer: pokemonInfoContainer,
saveSlotSelectUiHandler: saveSlotSelectUiHandler,
Expand Down
168 changes: 168 additions & 0 deletions src/locales/de/pokemon-form.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const pokemonForm: SimpleTranslationEntries = {
// Battle forms
"mega": "Mega-{{pokemonName}}",
"megaX": "Mega-{{pokemonName}} X",
"megaY": "Mega-{{pokemonName}} Y",
"primal": "Proto-{{pokemonName}}",
"gigantamax": "G-Dyna-{{pokemonName}}",
"eternamax": "U-Dyna-{{pokemonName}}",

// Starters forms
// 1G
"pikachuCosplay": "Cosplay",
"pikachuCoolCosplay": "Rocker-Pikachu",
"pikachuBeautyCosplay": "Damen-Pikachu",
"pikachuCuteCosplay": "Star-Pikachu",
"pikachuSmartCosplay": "Professoren-Pikachu",
"pikachuToughCosplay": "Wrestler-Pikachu",
"pikachuPartner": "Partner-Pikachu",
"eeveePartner": "Partner-Evoli",
// 2G
"pichuSpiky": "Strubbelohr-Pichu",
"unownA": "A",
"unownB": "B",
"unownC": "C",
"unownD": "D",
"unownE": "E",
"unownF": "F",
"unownG": "G",
"unownH": "H",
"unownI": "I",
"unownJ": "J",
"unownK": "K",
"unownL": "L",
"unownM": "M",
"unownN": "N",
"unownO": "O",
"unownP": "P",
"unownQ": "Q",
"unownR": "R",
"unownS": "S",
"unownT": "T",
"unownU": "U",
"unownV": "V",
"unownW": "W",
"unownX": "X",
"unownY": "Y",
"unownZ": "Z",
"unownExclamation": "!",
"unownQuestion": "?",
// 3G
"castformSunny": "Sonnenform",
"castformRainy": "Regenform",
"castformSnowy": "Schneeform",
// 4G
"burmyPlant": "Pflanzenumhang",
"burmySandy": "Sandumhang",
"burmyTrash": "Lumpenumhang",
"shellosEast": "Östliches Meer",
"shellosWest": "Westliches Meer",
"rotomHeat": "Hitze-Rotom",
"rotomWash": "Wasch-Rotom",
"rotomFrost": "Frost-Rotom",
"rotomFan": "Wirbel-Rotom",
"rotomMow": "Schneid-Rotom",
// 5G
"basculinRedStriped": "Rotlinige Form",
"basculinBlueStriped": "Blaulinige Form",
"basculinWhiteStriped": "Weißlinige Form",
"deerlingSpring": "Frühlingsform",
"deerlingSummer": "Sommerform",
"deerlingAutumn": "Herbstform",
"deerlingWinter": "Winterform",
// 6G
"froakieBattleBond": "Ash-Form",
"scatterbugMeadow": "Blumenmeermuster",
"scatterbugIcySnow": "Frostmuster",
"scatterbugPolar": "Schneefeldmuster",
"scatterbugTundra": "Flockenmuster",
"scatterbugContinental": "Kontinentalmuster",
"scatterbugGarden": "Ziergartenmuster",
"scatterbugElegant": "Prunkmuster",
"scatterbugModern": "Innovationsmuster",
"scatterbugMarine": "Aquamarinmuster",
"scatterbugArchipelago": "Archipelmuster",
"scatterbugHighPlains": "Dürrmuster",
"scatterbugSandstorm": "Sandmuster",
"scatterbugRiver": "Flussdeltamuster",
"scatterbugMonsoon": "Monsunmuster",
"scatterbugSavanna": "Savannenmuster",
"scatterbugSun": "Sonnenmuster",
"scatterbugOcean": "Ozeanmuster",
"scatterbugJungle": "Dschungelmuster",
"scatterbugFancy": "Fantasiemuster",
"scatterbugPokeBall": "Pokéball-Muster",
"flabebeRed": "Rotblütler",
"flabebeYellow": "Gelbblütler",
"flabebeOrange": "Orangeblütler",
"flabebeBlue": "Blaublütler",
"flabebeWhite": "Weißblütler",
"furfrouHeart": "Herzchenschnitt",
"furfrouStar": "Sternchenschnitt",
"furfrouDiamond": "Diamantenschitt",
"furfrouDebutante": "Fräuleinschnitt",
"furfrouMatron": "Damenschnitt",
"furfrouDandy": "Kavalierschnitt",
"furfrouLaReine": "Königinnenschnitt",
"furfrouKabuki": "Kabuki-Schnitt",
"furfrouPharaoh": "Herrscherschnitt",
"pumpkabooSmall": "Größe S",
"pumpkabooLarge": "Größe L",
"pumpkabooSuper": "Größe XL",
"xerneasNeutral": "Ruhe-Modus",
"xerneasActive": "Aktiv-Modus",
"zygarde50": "50% Form",
"zygarde10": "10% Form",
"zygarde50Pc": "50% Form Scharwandel",
"zygarde10Pc": "10% Form Scharwandel",
"zygardeComplete": "Optimum-Form",
// 7G
"oricorioBaile": "Flamenco-Stil",
"oricorioPompom": "Cheerleading-Stil",
"oricorioPau": "Hula-Stil",
"oricorioSensu": "Buyo-Stil",
"rockruffOwnTempo": "Gleichmut",
"miniorRedMeteor": "Rote-Meteorform",
"miniorOrangeMeteor": "Oranger-Meteorform",
"miniorYellowMeteor": "Gelber-Meteorform",
"miniorGreenMeteor": "Grüner-Meteorform",
"miniorBlueMeteor": "Hellblaue-Meteorform",
"miniorIndigoMeteor": "Blaue-Meteorform",
"miniorVioletMeteor": "Violette-Meteorform",
"miniorRed": "Roter Kern",
"miniorOrange": "Oranger Kern",
"miniorYellow": "Gelber Kern",
"miniorGreen": "Grüner Kern",
"miniorBlue": "Hellblauer Kern",
"miniorIndigo": "Blauer Kern",
"miniorViolet": "Violetter Kern",
"mimikyuDisguised": "Verkleidete Form",
"mimikyuBusted": "Entlarvte Form",
"magearnaOriginal": "Originalfarbe",
"marshadowZenith": "Zenitform",
// 8G
"sinisteaPhony": "Fälschungsform",
"sinisteaAntique": "Originalform",
"eiscueNoIce": "Wohlfühlkopf",
"indeedeeMale": "männlich",
"indeedeeFemale": "weiblich",
"zarudeDada": "Papa",
// 9G
"squawkabillyGreenPlumage": "Grüngefiedert",
"squawkabillyBluePlumage": "Blaugefiedert",
"squawkabillyYellowPlumage": "Gelbgefiedert",
"squawkabillyWhitePlumage": "Weißgefiedert",
"tatsugiriCurly": "Gebogene Form",
"tatsugiriDroopy": "Hängende Form",
"tatsugiriStretchy": "Gestrekte Form",
"gimmighoulChest": "Truhenform",
"gimmighoulRoaming": "Wanderform",
"poltchageistCounterfeit": "Imitationsform",
"poltchageistArtisan": "Kostbarkeitsform",
"paldeaTaurosCombat": "Gefechtsvariante",
"paldeaTaurosBlaze": "Flammenvariante",
"paldeaTaurosAqua": "Flutenvariante",

} as const;
2 changes: 2 additions & 0 deletions src/locales/en/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ import { nature } from "./nature";
import { partyUiHandler } from "./party-ui-handler";
import { pokeball } from "./pokeball";
import { pokemon } from "./pokemon";
import { pokemonForm } from "./pokemon-form";
import { pokemonInfo } from "./pokemon-info";
import { pokemonInfoContainer } from "./pokemon-info-container";
import { saveSlotSelectUiHandler } from "./save-slot-select-ui-handler";
Expand Down Expand Up @@ -79,6 +80,7 @@ export const enConfig = {
partyUiHandler: partyUiHandler,
pokeball: pokeball,
pokemon: pokemon,
pokemonForm: pokemonForm,
pokemonInfo: pokemonInfo,
pokemonInfoContainer: pokemonInfoContainer,
saveSlotSelectUiHandler: saveSlotSelectUiHandler,
Expand Down
168 changes: 168 additions & 0 deletions src/locales/en/pokemon-form.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
import { SimpleTranslationEntries } from "#app/interfaces/locales";

export const pokemonForm: SimpleTranslationEntries = {
// Battle forms
"mega": "Mega {{pokemonName}}",
"megaX": "Mega {{pokemonName}} X",
"megaY": "Mega {{pokemonName}} Y",
"primal": "Primal {{pokemonName}}",
"gigantamax": "G-Max {{pokemonName}}",
"eternamax": "E-Max {{pokemonName}}",

// Starters forms
// 1G
"pikachuCosplay": "Cosplay",
"pikachuCoolCosplay": "Cool Cosplay",
"pikachuBeautyCosplay": "Beauty Cosplay",
"pikachuCuteCosplay": "Cute Cosplay",
"pikachuSmartCosplay": "Smart Cosplay",
"pikachuToughCosplay": "Thoug Cosplay",
"pikachuPartner": "Partner",
"eeveePartner": "Partner",
// 2G
"pichuSpiky": "Spiky",
"unownA": "A",
"unownB": "B",
"unownC": "C",
"unownD": "D",
"unownE": "E",
"unownF": "F",
"unownG": "G",
"unownH": "H",
"unownI": "I",
"unownJ": "J",
"unownK": "K",
"unownL": "L",
"unownM": "M",
"unownN": "N",
"unownO": "O",
"unownP": "P",
"unownQ": "Q",
"unownR": "R",
"unownS": "S",
"unownT": "T",
"unownU": "U",
"unownV": "V",
"unownW": "W",
"unownX": "X",
"unownY": "Y",
"unownZ": "Z",
"unownExclamation": "!",
"unownQuestion": "?",
// 3G
"castformSunny": "Sunny",
"castformRainy": "Rainy",
"castformSnowy": "Snowy",
// 4G
"burmyPlant": "Plant",
"burmySandy": "Sandy",
"burmyTrash": "Trash",
"shellosEast": "East",
"shellosWest": "West",
"rotomHeat": "Heat",
"rotomWash": "Wash",
"rotomFrost": "Frost",
"rotomFan": "Fan",
"rotomMow": "Mow",
// 5G
"basculinRedStriped": "Red Striped",
"basculinBlueStriped": "Blue Striped",
"basculinWhiteStriped": "White Striped",
"deerlingSpring": "Spring",
"deerlingSummer": "Summer",
"deerlingAutumn": "Autumn",
"deerlingWinter": "Winter",
// 6G
"froakieBattleBond": "Battle Bond",
"scatterbugMeadow": "Meadow",
"scatterbugIcySnow": "Icy Snow",
"scatterbugPolar": "Polar",
"scatterbugTundra": "Tundra",
"scatterbugContinental": "Continental",
"scatterbugGarden": "Garden",
"scatterbugElegant": "Elegant",
"scatterbugModern": "Modern",
"scatterbugMarine": "Marine",
"scatterbugArchipelago": "Archipelago",
"scatterbugHighPlains": "High Plains",
"scatterbugSandstorm": "Sandstorm",
"scatterbugRiver": "River",
"scatterbugMonsoon": "Monsoon",
"scatterbugSavanna": "Savanna",
"scatterbugSun": "Sun",
"scatterbugOcean": "Ocean",
"scatterbugJungle": "Jungle",
"scatterbugFancy": "Fancy",
"scatterbugPokeBall": "Poké Ball",
"flabebeRed": "Red",
"flabebeYellow": "Yellow",
"flabebeOrange": "Orange",
"flabebeBlue": "Blue",
"flabebeWhite": "White",
"furfrouHeart": "Heart",
"furfrouStar": "Star",
"furfrouDiamond": "Diamond",
"furfrouDebutante": "Debutante",
"furfrouMatron": "Matron",
"furfrouDandy": "Dandy",
"furfrouLaReine": "La Reine",
"furfrouKabuki": "Kabuki",
"furfrouPharaoh": "Pharaoh",
"pumpkabooSmall": "Small",
"pumpkabooLarge": "Large",
"pumpkabooSuper": "Super",
"xerneasNeutral": "Neutral",
"xerneasActive": "Active",
"zygarde50": "50% Forme",
"zygarde10": "10% Forme",
"zygarde50Pc": "50% Forme Power Construct",
"zygarde10Pc": "10% Forme Power Construct",
"zygardeComplete": "Complete Forme",
// 7G
"oricorioBaile": "Baile",
"oricorioPompom": "Pom-Pom",
"oricorioPau": "Pau",
"oricorioSensu": "Sensu",
"rockruffOwnTempo": "Own Tempo",
"miniorRedMeteor": "Red Meteor",
"miniorOrangeMeteor": "Orange Meteor",
"miniorYellowMeteor": "Yellow Meteor",
"miniorGreenMeteor": "Green Meteor",
"miniorBlueMeteor": "Blue Meteor",
"miniorIndigoMeteor": "Indigo Meteor",
"miniorVioletMeteor": "Violet Meteor",
"miniorRed": "Red",
"miniorOrange": "Orange",
"miniorYellow": "Yellow",
"miniorGreen": "Green",
"miniorBlue": "Blue",
"miniorIndigo": "Indigo",
"miniorViolet": "Violet",
"mimikyuDisguised": "Disguised",
"mimikyuBusted": "Busted",
"magearnaOriginal": "Original",
"marshadowZenith": "Zenith",
// 8G
"sinisteaPhony": "Phony",
"sinisteaAntique": "Antique",
"eiscueNoIce": "No Ice",
"indeedeeMale": "Male",
"indeedeeFemale": "Female",
"zarudeDada": "Dada",
// 9G
"squawkabillyGreenPlumage": "Green Plumage",
"squawkabillyBluePlumage": "Blue Plumage",
"squawkabillyYellowPlumage": "Yellow Plumage",
"squawkabillyWhitePlumage": "White Plumage",
"tatsugiriCurly": "Curly",
"tatsugiriDroopy": "Droopy",
"tatsugiriStretchy": "Stretchy",
"gimmighoulChest": "Chest",
"gimmighoulRoaming": "Roaming",
"poltchageistCounterfeit": "Counterfeit",
"poltchageistArtisan": "Artisan",
"paldeaTaurosCombat": "Combat",
"paldeaTaurosBlaze": "Blaze",
"paldeaTaurosAqua": "Aqua",

} as const;
Loading

0 comments on commit 41c05bf

Please sign in to comment.