English (United Kingdom)
Jms Multi Site, formerly joomla multisite.
Create, share multiple joomla sites in few clicks !
Message
  • EU e-Privacy Directive

    This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

    View e-Privacy Directive Documents

Welcome, Guest
Please Login or Register.    Lost Password?

Translated multisite frontend but still English
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Translated multisite frontend but still English
#9928
Translated multisite frontend but still English 12 Years, 8 Months ago Karma: 0
Dear Edwin,

I have translated multisite frontend to Hungarian and copied the file in hu-HU directory, but the frontend is still English.
Is there anything else I should do?

Regards

Jozsef
joekker
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9942
Re: Translated multisite frontend but still English 12 Years, 8 Months ago Karma: 54
Which version of Joomla do you use ?

Normally, in joomla, you just have to select the front-end (site) language to have the correct language rendering.

Verify that you correctly spelled the file name and correctly store the language file into the appropriate directory.

In case of Joomla 2.5, verify that you didn't used special characters.
It is frequent that Joomla 2.5 is not able to read a language file due to invalid characters. This may result by error when loading the language file and therefore use the english one instead of the specific language file.

In Joomla 2.5, here is is a sample PHP code that allow checking that your language file can be read
Change the filename location.
It should print on screen the language file when it is correctly read.
Otherwise, the display can be troncated or empty.

<?php
$filename = '/home/account/public_html/administrator/language/en-GB/en-GB.com_multisites.sys.ini';
$strings = (array) @parse_ini_file($filename);
print_r( $strings);
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
Last Edit: 2012/04/20 14:30 By edwin2win.
The administrator has disabled public write access.
 
#9952
Re: Translated multisite frontend but still English 12 Years, 8 Months ago Karma: 0
Dear Edwin,

I really don't understand what is happenning here.
I show you on an example.

The below is a line from 1.2.86 version of multsisite, that is extracted on my computer:
Code:

SITE_CREATE_ID_ERR=Unable to create the Site ID directory: [%s]


This is the verison of the same line on the server:
Code:

SITE_CREATE_ID_ERR="Unable to create the Site ID directory: &#91;%s&#93;"


:-O

When I have translated the version on my computer I found strange that there are no double qutes before and after the translation, but anyway, I have translated and uploaded.

Now, as I found that the en-EN language file has those double qoutes I have added them to my translation, as well as I have changed [] to &#91; &#93;
Now, my translation works fine, but I really don't understand how did it happen!

Why is your langauge file in the package different from the server and how should I know about it?

Thanks for help!

Jozsef
joekker
Senior Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#9960
Re: Translated multisite frontend but still English 12 Years, 8 Months ago Karma: 54
The language file is correct.

The problem is that Joomla 1.6 or higher has changed the way that the language file is loaded and now does not accept anymore special characters like []

So when you install JMS, there is a specific code that convert the "joomla 1.5" language into a format that is joomla 1.6, 1.7 or 2.5 compatible.
So all the special characters are converted into their html equivalent.
edwin2win
Moderator
Posts: 5370
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1
get the latest posts directly to your desktop
2Win, Multisite(s) are trademarks of Edwin2Win.
Joomla