tolgee-platform icon indicating copy to clipboard operation
tolgee-platform copied to clipboard

YAML Import & Export support

Open Crovitche-1623 opened this issue 2 years ago • 4 comments
trafficstars

Hi !

I plan to switch from Lokalise to Tolgee because I need a self-hosted solution for my project containing hundreds of thousands of translations. There is a crucial feature for me that is missing which is import and export in YAML. Are you planning to support this format (which is basically the same as flat JSON) or what would be missing in order to have it?

Here is an example of one of my YAML translation file:

[namespace].[language].yml : shape.fr.yml

shape.oval: Ovale
shape.rectangular: Rectangulaire
shape.round: Rond
shape.square: Carré
shape.tonneau: Tonneau

Crovitche-1623 avatar Feb 28 '23 08:02 Crovitche-1623

Hey! It's not complicated. However it's not a priority

@Crovitche-1623 I've pinged you via e-mail, about our EE plan for self-hosted instances, you might be interested to. It comes with prioritised feature implementation.

JanCizmar avatar Feb 28 '23 11:02 JanCizmar

+1, it would be great if nested YAML would work too:

shape:
  oval: Ovale
  rectangular: Rectangulaire

stijnb1234 avatar Mar 19 '23 13:03 stijnb1234

Just FYI: YAML is also the standard format of Ruby on Rails and it's popular in CrystalLang, too.

However, the root keys are usually the locale keys in all the variants that I'm aware of:

en:
  hello: "Hello world"
  foo: "Bar" # here's a comment

fr:
  # the second variant of comments but I'm not sure this should be tackled here
  bar: Baz

alexanderadam avatar Aug 04 '23 11:08 alexanderadam

Just FYI: YAML is also the standard format of Ruby on Rails and it's popular in CrystalLang, too.

However, the root keys are usually the locale keys in all the variants that I'm aware of:

en:
  hello: "Hello world"
  foo: "Bar" # here's a comment

fr:
  # the second variant of comments but I'm not sure this should be tackled here
  bar: Baz

In Java Yaml is also used a lot. It gives users their own way to design language files, like one file per language.

stijnb1234 avatar Aug 04 '23 14:08 stijnb1234

Hey! We released YAML support earlier this year. You may want to check it out! 🚀

JanCizmar avatar Aug 20 '24 12:08 JanCizmar