Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support Translation
Seolo
Posted on 25 Oct 2009, 15:31:09

Access: Member
Total Posts: 2
Joined: 2009-10-25

I've translated this wonderful newsscript to swedish, but there are som issues.
There are a lot of text in ex popup messages, textboxes etc etc, why isnt those texts in the language file?
Why is there two files, newslangmsg.php and langmsg_xxx.php, that needs to be translated?

One more thing, where is the templates stored, in the database?
Even the template style?
#1107
Ronald
Posted on 25 Oct 2009, 15:42:07

Access: Member
Total Posts: 45
Joined: 2009-09-11

They are in the index file and in the admin.php file, i think its a lot of work to set everything into the text files.

In phpmyadmin, that i use you see news_templates. There is eveyrthing stored and you can see everything there, from default to your one style.
#1108
Chris
Posted on 25 Oct 2009, 16:54:47

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

newslangmsg is for any messages you see when displaying your news, for example "Please enter a username". langmsg_english is entirely for the admin side of the script.

The popups you're seeing would need to be changaed manually by editing the js/main.js The reason I couldn't include those in the langmsg_english file is beacuse they need to be in the javascript file and I can't execute php code in a js file.

I could have actually renamed the js file to php which still would have worked.. I'll perhaps make this change in the next version.
#1112
Last edited by Chris at 2009-10-25 16:55:24 Reason:
Seolo
Posted on 25 Oct 2009, 18:09:33

Access: Member
Total Posts: 2
Joined: 2009-10-25

ok, thanks for a quick reply.
It would be nice to be able to translate the complete script in the future.

Do you collect translations? I you want i could send you my swedish file!
#1113
Chris
Posted on 25 Oct 2009, 18:23:15

Access: Admin
Total Posts: 1395
Joined: 2006-05-19

If you don't mind emailing me a copy of the translated file to chris@network-13.com I'll then add it to the download page for others to use.

Don't forget to change the name at the top of the file to your own so you get credit for translating it.
#1114
Network-13.com © 2013