I receive this error:
Warning: Error parsing /var/www/html/example.com/draft/tables/cms_site/valuelists.ini on line 35 in /var/www/html/example.com/draft/xataface-1.2.5/Dataface/ConfigTool.php on line 441
Line 35 happens to be no=Norway, if I change it to na=Norway, it doesn't show an error. Is 'no' problematic somehow? I could do a messy workaround, but as the value 'no' is needed to use a translation script.
Relevants bits shown below.
My fields.ini looks like this:
- Code: Select all
[sit_languages]
widget:label = "Choose Languages"
widget:type=checkbox
vocabulary=languages
visibility:list = hidden
My valuelists.ini looks like this:
- Code: Select all
[languages]
af=Afrikaans
ar=Arabic
be=Belarusian
bg=Bulgarian
ca=Catalan
cs=Czech
cy=Welsh
da=Danish
de=German
el=Greek
en=English
es=Spanish
et=Estonian
fa=Persian
fi=Finnish
fr=French
ga=Irish
gl=Galician
he=Hebrew
hi=Hindi
hr=Croatian
hu=Hungarian
id=Indonesian
is=Icelandic
it=Italian
ja=Japanese
ko=Korean
lt=Lithuanian
lv=Latvian
mk=Macedonian
ms=Malay
mt=Maltese
nl=Dutch
no=Norway
pl=Polish
pt=Portuguese
ro=Romanian
ru=Russian
sk=Slovak
sl=Slovenian
sq=Albanian
sr=Serbian
sv=Swedish
sw=Swahili
th=Thai
tl=Filipino
tr=Turkish
uk=Ukrainian
vi=Vietnamese
yi=Yiddish
zh-cn=Chinese-Simplified
zh-tw=Chinese-Traditional
Any help would be gratefully received!
Many thanks, Tom