Ian da Bitour
Talossan since 3-11-2006
President of Royal Bank and Post
Posts: 382
|
Post by Ian da Bitour on Nov 17, 2007 0:33:22 GMT -6
Azul,
I create the CÚG page. I put the code for the header in English - that is OK, but when I add the translation in Talossan (Comità për l'Útzil del Glhetg) the page return this error message:
"Talossa Code Error"
The code I use is:
<: page.title('Committee for the Use of the Language', trans = 'Comità për l'Útzil del Glhetg') :>
Well what is the error?
-Ián GTZT member
|
|
|
Post by Dréu Gavárþic'h on Nov 17, 2007 7:31:21 GMT -6
Okay, since there is a ' in the name already you have to put quotation marks around it, instead of apostrophes so like this:
page.title('Committee for the Use of the Language', trans = "Comità për l'Útzil del Glhetg")
|
|
Ian da Bitour
Talossan since 3-11-2006
President of Royal Bank and Post
Posts: 382
|
Post by Ian da Bitour on Nov 17, 2007 8:24:40 GMT -6
I always use this syntax of coding. Strange.
<: page.title('Committee for the Use of the Language', trans = "Comità për l'Útzil del Glhetg") :>
|
|
|
Post by Dréu Gavárþic'h on Nov 17, 2007 22:09:29 GMT -6
|
|
|
Post by Dréu Gavárþic'h on Nov 17, 2007 22:10:26 GMT -6
|
|
Sir Samuhel Tecladeir
Citizen since 8-22-2005; Knight since 10-23-2006
If you don't rock the boat, no one will know it's sinking.
Posts: 436
|
Post by Sir Samuhel Tecladeir on Nov 26, 2007 13:04:39 GMT -6
Ian, you could be running into a unicode error. "Talossan Code Error" sounds like a custom exception created. Do you have more details?
|
|
Ian da Bitour
Talossan since 3-11-2006
President of Royal Bank and Post
Posts: 382
|
Post by Ian da Bitour on Nov 26, 2007 14:44:24 GMT -6
page.title('Committee for the Use of the Language', trans = "Comità për l'Útzil del Glhetg")
I put this code with double quotation marks, and all it's fine now. In all pages I have created in KoT.net use <: page.title('Committee for the Use of the Language', trans = 'Comità për l'Útzil del Glhetg') :>
with single quotation marks...
Do you have any ideas?
|
|
|
Post by Dréu Gavárþic'h on Nov 26, 2007 15:12:00 GMT -6
you have to use the double quotations because there is already a single quote in the word "l'utzil"
|
|
Ian da Bitour
Talossan since 3-11-2006
President of Royal Bank and Post
Posts: 382
|
Post by Ian da Bitour on Nov 26, 2007 15:20:55 GMT -6
you have to use the double quotations because there is already a single quote in the word "l-utzil" Really I am stupid little boy
|
|