I made a new language in 2,4 and now in admin, there is no pages

humpfrey

Avatar: humpfrey

2009-06-18 20:31

I did make a new language, using 'en' lang, and now if I choose the new language, there are no pages, or files. If I choose 'en' I can see all. I made a new site on the empty space, clicked save, but on log out, the page was not visible. So I searched the forum and found this:
http://opensolution.org/Quick.Cms/forum/?p=readTopic&nr=804
Where 'Grafic' writes to rename copy and rename those files, but the files were allready made by the creation of the language, so where is the bug here ? I use the new 2,4 stable version.

Thank you

Peter

» Quick.Cms v2.x

cgan

Avatar: cgan

2009-06-18 22:59

Look in the db directory. Remove the files of your new language. Copy those files that starts with en and change the name of them to the language you have created. You see creating a new language will not create any content in the db files. You just get the empty databases. You'll have to add content by yourself. But by copying the en files you can use the content of those and translate them to your language.
Good luck!

cgan

humpfrey

Avatar: humpfrey

2009-06-19 00:18

Hi cgan,
I did exactly do now, what you wrote, and now the server responds:
Fatal error: Call to undefined function: da_pages() in /core/pages.php on line 299

Peter

treewood (OpenSolution)

Avatar: treewood

2009-06-19 07:52

hmmm strange ... edit db/da_pages.def.php and change en_pages to da_pages

humpfrey

Avatar: humpfrey

2009-06-19 23:23

Hi treewood,

Did anyone tell you, you are a genious ?
I did edit that file and some of the other da files, and taadaaa, it worked. Thanks mate.
Can you provide somewhere, where I can upload the da lang file ?

The best to you and cgan.

//Peter

cgan

Avatar: cgan

2009-06-19 23:40

I'm glad it works. By the way what language is da? Myself I'm from Sweden

cgan

humpfrey

Avatar: humpfrey

2009-06-19 23:53

Hi cgan, ja det är da, heysan kompis. Jag troade att du var ifrån polen. ;-)

// Peter

cgan

Avatar: cgan

2009-06-19 23:58

Glad Midsommar!

cgan

humpfrey

Avatar: humpfrey

2009-06-19 23:59

eerh det är dansk, da för dansk

humpfrey

Avatar: humpfrey

2009-06-19 23:59

tack saa mycket, du ocksaa

cgan

Avatar: cgan

2009-06-20 00:02

Dansk är det inte dk?

cgan

humpfrey

Avatar: humpfrey

2009-06-20 00:06

ja kanske det är mer rett med dk än da, Jag ändrar det, men hvortill kann dett uploadas? och hur ?

cgan

Avatar: cgan

2009-06-20 00:10

Om du menar översättningen till danska, skicka den till "info@opensolutions.org"

cgan

humpfrey

Avatar: humpfrey

2009-06-20 00:18

Ja det var det, jag menade - tack saa mycket

humpfrey

Avatar: humpfrey

2009-06-20 02:06

I did now send the danish language pack for this 2,4 Cms to info@opensolutions.org

pxl666

Avatar: pxl666

2009-06-20 08:30

is this possible to implement the creation/copying of language using another language automatically?

cheers

Back to top
about us | contact