1
hayim
Hi. First I want to thank those who
  • 2004/6/26 18:28

  • hayim

  • Just popping in

  • Posts: 3

  • Since: 2004/6/26


worked hard on the rtl version.
You did most of my work. And you did a great one.
I am working on a Hebrew translation.
I have a questiong: What do I have to add in order to force the internet explorer recognize "hebrew (windows)"
as the default language ?
And in which file the changes have to be made.
Thanks again.

Hayim

2
tl
Re: Hi. First I want to thank those who
  • 2004/6/26 22:00

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You can set your default language to hebrew (windows) if you have installed the language pack

System Admin->Preferences->General Settings

Default language
select hebrew (windows)

The default language code will then be generated and included in your theme.html file

3
hayim
Re: Hi. First I want to thank those who
  • 2004/6/27 5:30

  • hayim

  • Just popping in

  • Posts: 3

  • Since: 2004/6/26


Hi.
Thanks for the reply.
Xoops do not have a Hebrew language pack.
I am writing the Hebrew.
I just do not know how to force the user's internet explorer to show the hebrew by default.
The user has to go to view encoding and choose the language after every refresh.
Hayim

4
tl
Re: Hi. First I want to thank those who
  • 2004/6/27 13:26

  • tl

  • Friend of XOOPS

  • Posts: 999

  • Since: 2002/6/23


You could manually added the encoding into theme.html file

<html xmlns="http://www.w3.org/1999/xhtml" [color=d84848]xml:lang="en" lang="en">[/color]
<
head>
<
meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />


The highlighted codes are generated (or retrieved) by Xoops. You can hardcode it with corresponding Hebrew lanugage code.

5
hayim
Re: Hi. First I want to thank those who
  • 2004/6/28 10:38

  • hayim

  • Just popping in

  • Posts: 3

  • Since: 2004/6/26


I just wanted to tell you all about the solution.
I have pure hebrew.
Thanks to your lead I made 2 changes:
1. In the theme.html:







2. in the global.php that is located in the Hebrew directory I changed the end:
//%%%%% LANGUAGE SPECIFIC SETTINGS %%%%%
define('_CHARSET', 'WINDOWS-1255');
define('_LANGCODE', 'he');

// change 0 to 1 if this language is a multi-bytes language
define("XOOPS_USE_MULTIBYTES", "0");
?>

That is it.
Thank to all.

Hayim

Login

Who's Online

340 user(s) are online (256 user(s) are browsing Support Forums)


Members: 0


Guests: 340


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits