Have problem when i add a language

maste tecker Posted in Technical Support 8 years ago

I changed all the components and also the file ossn.en.php , after that I put every single file in the appropriate folder, but he doesn't work.

The language is albanian.

Replies
Indonesian Arsalan Shah Replied 8 years ago

You file is missing a comma after two string in ossn.sq.php 21 and 55

Replace your locale/ossn.sq.php with this https://gist.github.com/lianglee/00e8adeec26c303f43fb

It will fix your problem

French Eric F. Replied 8 years ago

In first before to copy your language files you need to enable error log:
Admin -> Site settings -> Basic -> Error reporting to ON

After that copy your language files.
Return to Admin -> Site settings -> Basic

You'll get white page error 500 as you language files get errors.

Look at error_log file wich is located at root directory of OSSN, you'll see where are the errors.
Just give you correction for first:
Missing comma at end of line 20.

Correct all errors and it'll be ok

French Eric F. Replied 8 years ago

Your language files for Albanian should be named:
ossn.sq.php

Files should start with:
$sq = array(

And ended with:
ossnregisterlanguages('sq', $sq);

Indonesian Arsalan Shah Replied 8 years ago

Your albanian language file must named ossn.sq.php