Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

ResourceImporterCSVTranslation

Inherits: ResourceImporter < RefCounted < Object

Imports comma-separated values

Description

Comma-separated values are a plain text table storage format. The format's simplicity makes it easy to edit in any text editor or spreadsheet software. This makes it a common choice for game localization.

Example CSV file:

keys,en,es,ja
GREET,"Hello, friend!","Hola, amigo!",こんにちは
ASK,How are you?,Cómo está?,元気ですか
BYE,Goodbye,Adiós,さようなら
QUOTE,"""Hello"" said the man.","""Hola"" dijo el hombre.",「こんにちは」男は言いました

Tutorials

Properties

bool

compress

true

int

delimiter

0


Property Descriptions

bool compress = true 🔗

If true, creates an OptimizedTranslation instead of a Translation. This makes the resulting file smaller at the cost of a small CPU overhead.


int delimiter = 0 🔗

The delimiter to use in the CSV file. The default value matches the common CSV convention. Tab-separated values are sometimes called TSV files.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.