You need to be logged in to view a user's profile.
  1. lainkes
  2. Help (jevents 1.4 for 1.0.x)
  3. Friday, 04 April 2008
Hey,

In installed JEvents on my multi-language site.
It works in Dutch, but the text in French shows squares where characters with accents are expected.

Any idea how I can resolve this.

Also the date is in English.

Thanks in advance

Lainkes
Accepted Answer Pending Moderation
0
Votes
Undo
If your site uses utf-8 encoding, you have to convert the language files to utf-8.
Some date and time strings are created by the php function strftime() which requires a correct setting of your Joomla locale.
Please read [url:21d5mmri]http://www.jevents.net/content/view/28/14/lang,en_GB/[/url:21d5mmri]
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
I did the little test, and in all languages, I get the day in English.
What files do I have to convert, and how can I do that?

Thanks in advance

Greetings

Lainkes
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
The locale strings used by strftime() are provided by your operating system and not by Joomla or JEvents. Your operation system must be setup correctly and then you can use the corresponding locales. Please post more details about:

[list:1jfffcam]operating system
Joomla version
JEvents version
encoding of your site
a link to your site, if possible[/list:u:1jfffcam]
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hey,

I'm using joomla 1.0.14
I do not know exactly was OS I'm using. The site is hosted by one.com
But I made a phpinfo page : [url:3fpwa63v]http://www.cultuurraadbever.be/phpinfo.php[/url:3fpwa63v]
My site is [url:3fpwa63v]http://www.cultuurraadbever.be[/url:3fpwa63v]
JEvents is version 1.4.2

Lainkes
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
Your server operating system is Debian GNU/Linux.
Your site uses utf-8 encoding. You have to convert the JEvents language files from iso-8859-1 to utf-8.
Convert the file .../components/com_events/language/french.php
Do not store a BOM (Byte order mark for utf-8 files) at the beginning of the language file(use babelpad or notpad++).

To get the correct date string which is now in English, you have to find the correct locale.
Look at http://www.cultuurraadbever.be/administ ... hecklocale when you are logged in and you'll get a list of available locales on your server. On my system you would use fr_BE.utf8
Post the list of locales here
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hey Thomas,

Thanks for the advice.
It works fine.
Just one little thing.
The date is correct, but the language is in English.

Any idea how I can change that?

Thanks

Lainkes
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
As I wrote in my previous post, find the correct locale and use it in Joomfish as well.
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 7
Accepted Answer Pending Moderation
0
Votes
Undo
Strange. Every local that I used returs the day in English. (fr_BE, de_DE, ...).
I something wrong with joomla? Or is it a setting that is wrong?

Lainkes
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 8
Accepted Answer Pending Moderation
0
Votes
Undo
There is nothing wrong with Joomla. It's the operating system of the server.
Try the locales:
fr_FR.utf8, fr_FR.UTF-8, fr_FR.UTF-8@euro, French_Standard, french, fr_FR, fre_FR

Whats's about the output of http://www.cultuurraadbever.be/administ ... hecklocale
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 9
Accepted Answer Pending Moderation
0
Votes
Undo
This is the output.
Also with all the locals you sugested.
Simple locale testing routines

Your current system locale is : C
Joomla has set your locale as : fr_BE
try out a locale string


Today's day name in this locale (fr_FR) is : Saturday
Typical unix locale values are tried out below

Saturday in Finnish (using fi_FI) is Saturday,
Saturday in French (using fr_FR) is Saturday
Saturday in German (using de_DE) is Saturday.
Saturday in Welsh (using cy_GB) is Saturday.
For information about setting locale for windows servers see the following links:

See: http://www.unicode.org/onlinedat/countries.html
Also see : http://msdn.microsoft.com/library/defau ... trings.asp
Also see : http://docs.moodle.org/en/Table_of_locales
http://msdn.microsoft.com/library/defau ... s_238z.asp
http://www.loc.gov/standards/iso639-2/p ... h_list.php
For windows servers you could try the following pattern

Saturday in Finnish (using FIN) is Saturday,
Saturday in French (using FRA) is Saturday
Saturday in German (using DEU) is Saturday.
Saturday in Welsh (using cym_gbr) is Saturday.
Saturday in German (using german) is Saturday.
Saturday in Welsh (using welsh) is Saturday.
Your server supports the following locales

Choose the one most suited to your requirements

Array
(
[0] => C
[1] => POSIX
)
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 10
Accepted Answer Pending Moderation
0
Votes
Undo
Ok, as you see from :
Array
(
[0] => C
[1] => POSIX
)

there are no locales installed on the server. What can you do?

- Ask your provider to install debian locales
- Change the provider
  1. more than a month ago
  2. Help (jevents 1.4 for 1.0.x)
  3. # 11
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.