• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
Does anyone have a magic trick to work translations within CKII csv files ? :wacko:

Answers about csv questions seem to point to using a text editor like Notepad++.
But to be efficient I'd like to have some nice columns per language with word-wrap within cells, and as far as I know this isn't possible with Notepad++ ?
So I tried to open csv with OpenOffice Calc, managed the import, only to realize that the csv export breaks the file completely: Paradox format (x at end of line, empty line at the end) is not standard ! End line is removed, and x is either removed or an extra ; is added after depending on separator choices on import, ...

Did I miss something ?
Maybe I need some kind of script that adds back the x and the \n lol
 

Athalcor

AWOL
38 Badges
Aug 8, 2010
5.248
246
  • Cities in Motion
  • Magicka
  • March of the Eagles
  • Sengoku
  • Sword of the Stars
  • The Showdown Effect
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Steel Division: Normand 44 Sign-up
  • Stellaris Sign-up
  • Europa Universalis III Complete
  • Teleglitch: Die More Edition
  • Warlock: Master of the Arcane
  • War of the Roses
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Magicka: Wizard Wars Founder Wizard
  • Humble Paradox Bundle
  • Europa Universalis III Complete
  • Leviathan: Warships
  • Knights of Pen and Paper +1 Edition
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Deus Vult
  • Dungeonland
  • Europa Universalis III
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV
  • Hearts of Iron III
  • Heir to the Throne
  • Impire
Does anyone have a magic trick to work translations within CKII csv files ? :wacko:

Answers about csv questions seem to point to using a text editor like Notepad++.
But to be efficient I'd like to have some nice columns per language with word-wrap within cells, and as far as I know this isn't possible with Notepad++ ?
So I tried to open csv with OpenOffice Calc, managed the import, only to realize that the csv export breaks the file completely: Paradox format (x at end of line, empty line at the end) is not standard ! End line is removed, and x is either removed or an extra ; is added after depending on separator choices on import, ...

Did I miss something ?
Maybe I need some kind of script that adds back the x and the \n lol

I think you probably do not want to hear this, but Excel does the trick.
 

Romulien

Lt. General
19 Badges
Jul 2, 2013
1.404
308
  • Crusader Kings II
  • Major Wiki Contributor
Indeed I don't ! :laugh: But it made me try even harder, thanks !

The issue was coming from the number of ;;;;; on each lines to be different on few lines. :wacko:
Once this was fixed and the X aligned in same column, the blank line at the end of file was no more removed ...

Last thing is spellchecker language that is not configurable per column, so everything is redish, but 1 language at a time is OK.

I attached some screenshots (OpenOffice in French sorry), if it can help other modders...

ActivateWordwrap.jpg
FixTheXs.jpg
FormatCells.jpg
OpenOfficeCSVImport.jpg