8000 GitHub - jmp/csvloc: A tool for merging CSV translation files into a single CSV file. Its main purpose is to make it easier to share translations for Android and iOS apps.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
/ csvloc Public

A tool for merging CSV translation files into a single CSV file. Its main purpose is to make it easier to share translations for Android and iOS apps.

License

Notifications You must be signed in to change notification settings

jmp/csvloc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

csvloc

build codecov

Merge localizable strings/translations spread across several CSV files into a single CSV file.

It can be used in combination with tools like strgen to share translations between Android and iOS mobile apps. The CSV files containing the translations can be kept in their own files and managed with a system like Weblate. Once translated, the files can be merged with csvloc and then ran through strgen to create native translations for Android and iOS.

Installation

poetry install

Usage

Imagine you have two CSV files for English and Finnish, containing string identifiers and the corresponding translations:

  1. en-US.csv:
    id,en-US
    someId,Some translation
    anotherId,Another translation
    
  2. fi-FI.csv:
    id,fi-FI
    someId,Joku käännös
    anotherId,Toinen käännös
    

Running csvloc en-US.csv fi-FI.csv will produce a single CSV file with all the translations merged:

id,en-US,fi-FI
someId,Some translation,Joku käännös
anotherId,Another translation,Toinen käännös

About

A tool for merging CSV translation files into a single CSV file. Its main purpose is to make it easier to share translations for Android and iOS apps.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages

0