Skip to content

Multiple ways of handling separators in csv-files #47

@imaginetobe

Description

@imaginetobe

There's multiple methods of handling the separator used in csv files.

Person generator is set to always use ','

$AllNames = Resolve-LocalizedPath -Culture $Culture -ContentFile 'names.csv' | Import-CacheableCsv -Delimiter ','

City generator uses the current culture setting (in Swedish culture set to ';' )

$cities = Resolve-LocalizedPath -Culture $Culture -ContentFile 'cities.csv' | Import-CacheableCsv -UseCulture -Culture $Culture

IMHO it would be easier to stick to ',' to avoid confusion when translating the data files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions