×
KISS International Help Forum. English language, please.
Translation
- DocChicago
-
- Offline
- KISS Chief Programmer
-
10 Feb 2017 15:47 #6967
contains double quotes near "Null", "Nej" ....
As double quotes are delimiters for the language string, they must be used only twice in one string - at the beginning and the end. Double quotes within a double quoted string must be coded as "_QQ_"
So the above string must be coded as follows:....if you want to use double quotes.
For readability reasons, you may also use single quotes, such as... as long as the string is not intended to be stored in a database. Storing it in a database would be messed up with single quotes as MySQL uses single quotes as string delimiter.
I will correct the file and put a new version in our download repository.
I checked it with the above strings changed and it worked.
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
I checked your file, there are two lines which contain errors. You have double quotes within the strings which is not allowed.
E.g. the string
KISS_GENERAL_FIELD_SHOWONNOVALUE_DESC="Hvis NEJ, vil feltet ikke vises, hvis det er værdi "Null", "Nej", "Ingen" eller "nul". Hvis JA, vil feltet altid blive vist, uanset dens indhold."
As double quotes are delimiters for the language string, they must be used only twice in one string - at the beginning and the end. Double quotes within a double quoted string must be coded as "_QQ_"
So the above string must be coded as follows:
KISS_GENERAL_FIELD_SHOWONNOVALUE_DESC="Hvis NEJ, vil feltet ikke vises, hvis det er værdi "_QQ_"Null"_QQ_", "_QQ_"Nej"_QQ_", "_QQ_"Ingen"_QQ_" eller "_QQ_"nul"_QQ_". Hvis JA, vil feltet altid blive vist, uanset dens indhold."
For readability reasons, you may also use single quotes, such as
KISS_GENERAL_FIELD_SHOWONNOVALUE_DESC="Hvis NEJ, vil feltet ikke vises, hvis det er værdi 'Null', 'Nej', 'Ingen' eller 'nul'. Hvis JA, vil feltet altid blive vist, uanset dens indhold."
I will correct the file and put a new version in our download repository.
I checked it with the above strings changed and it worked.
Ob ein Glas halb voll oder halb leer ist, ist mir egal. Hauptsache meine Zähne passen rein.
No matter whether a glass is half full or half empty - as long as my teeth fit in.
Last edit: 10 Feb 2017 15:48 by DocChicago.
Please Log in or Create an account to join the conversation.
- hulemalerier
- Topic Author
- Offline
- KISS Helper
-
Less
More
- Posts: 14
- Thank you received: 0
10 Feb 2017 16:07 #6968
yay, that worked! Thanx!
Please Log in or Create an account to join the conversation.