You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all: Thank You very much for this amazing package.
I have the following active.en.toml file:
description = "Description"
[comment]
one = "Comment"other = "Comments"zero = "No Comment"
If I run goi18n.exe merge .\active.en.toml against it I get the following error message:
failed to load message file .\active.en.toml: expected value for key "comment" be a string but got map[string]interface {}{"one":"Comment", "other":"Comments", "zero":"No Comment"}
Changing 'desctiption' in the first line to anything else makes the problem go away.
Calling LoadMessageFile method also fails with this input.
I have tried to convert the toml file to yaml too, but does not help.
I am using github.com/nicksnyder/go-i18n/v2 v2.1.2.
The text was updated successfully, but these errors were encountered:
Hi,
First of all: Thank You very much for this amazing package.
I have the following
active.en.toml
file:If I run
goi18n.exe merge .\active.en.toml
against it I get the following error message:failed to load message file .\active.en.toml: expected value for key "comment" be a string but got map[string]interface {}{"one":"Comment", "other":"Comments", "zero":"No Comment"}
Changing 'desctiption' in the first line to anything else makes the problem go away.
Calling
LoadMessageFile
method also fails with this input.I have tried to convert the
toml
file toyaml
too, but does not help.I am using
github.com/nicksnyder/go-i18n/v2 v2.1.2
.The text was updated successfully, but these errors were encountered: