mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.31k stars 99 forks source link

Rails YML string values casted to integer or boolean #62

Closed j15e closed 8 months ago

j15e commented 6 years ago

Some strings that are a boolean or integer are not exported as string with the rails YML exporter.

# Before sync
key_one: "true"
key_two: "123456"

# After sync
key_one: true
key_two: 123456

I found the underlying issue seems to be that fast_yaml lib isn't providing encoding options and that problem was already reported by @simonprev (https://github.com/processone/fast_yaml/issues/2).

I created this issue so others don't need to dig that problem again eheh.

simonprev commented 8 months ago

Since the fast_yaml is not working on my M1 machine, we are currently only supporting the existing implementation and not fixing/adding features to the YAML format 😢