[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-24 Thread Dominique-Alain JAN
Richard,

I had a look into the langconfig.php file in my fr.utf8 folder.

I had the following :

$string['locales'] ='fr.utf8,francais,en_US.utf8,en_GB.utf8,en,english-
us,english-uk,english';

I first changed it to :

$string['locales'] ='fr.utf8,french';

and then to :

$string['locales'] ='fr_FR.UTF-8',french';

and then to :

$string['locales'] ='fr.utf-8,french';

I doesn't solve the problem.

I attach my langconfig.php file with this comment

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-24 Thread Dominique-Alain JAN
** Attachment added: fr.uf8 langconfig.php translation
   
https://bugs.launchpad.net/mahara/+bug/786923/+attachment/2140789/+files/langconfig.php

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-24 Thread Richard Mansfield
Hi Dominique-Alain,

So do the pieforms strings work in pieforms?  If you go to Site
Administration and try to edit a user's account settings at
admin/users/edit.php, do you see the month names in the Expiry date
selector in French or English?  Those are the ones from pieforms.php,
and are a bit of a hangover from when pieforms was a separate project to
Mahara.


For the month names in most other places on the site (like the dates under 
Latest Pages on the dashboard), you need to get the locales string exactly 
right.  To get it to work in Ubuntu, all I had to do was this:

1. Install the French locale on the server with sudo apt-get install 
language-pack-fr
2. Put 'fr_FR.utf8' as the first item in the locales string in langconfig.php - 
others have said that windows users will need 'french' in there as well, but I 
haven't tried it myself.

So you should try 'fr_FR.utf8' if you haven't tried it already.  For me,
'fr_FR.utf8', 'fr_FR.UTF-8', and 'fr_FR.utf-8' all work, but 'fr.utf8',
'fr.utf-8', and 'french' don't do anything.

When I tried it yesterday with the Spanish langpack I thought I needed
to restart apache too, but I was wrong about that.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-24 Thread Dominique-Alain JAN
Ok Richard,

I have installed the french language package into Ubuntu and now it's
working well.

Thank you for your help

-dajan

** Changed in: mahara
   Status: Incomplete = Invalid

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Invalid

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-23 Thread Richard Mansfield
element.date.monthnames is only used by the pieforms 'date' element, and
that element is only used in a few places.  One example is
admin/users/edit.php, where it's used to set an account expiry date.  In
those places, the month names should display correctly according to the
pieforms.php language file.   It works correctly on my 1.4 installation
using the

If other dates around the site are not being displayed in the correct
language, that can happen if the relevant locale is not installed on the
server, or because the 'locales' string is not correct in the
langconfig.php file.

langconfig.php should have something like this in it:

$string['locales'] = 'es_ES.UTF-8,spanish';

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-23 Thread Richard Mansfield
Oops, I meant to say It works correctly on my 1.4 installation using
the Spanish language pack

** Changed in: mahara
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp


[Mahara-contributors] [Bug 786923] Re: Strings in pieforms.php are not used in foreign languages

2011-05-23 Thread François Marier
** Changed in: mahara
   Importance: Undecided = High

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/786923

Title:
  Strings in pieforms.php are not used in foreign languages

Status in Mahara ePortfolio:
  Incomplete

Bug description:
  Using cpds pluging and after a email chat with its programmer, I have
  discover a problem with the dates in localised versions of Mahara.

  When displaying date, the month names are not taken from the
  translated version of pieforms.php. Therfore, the month names are
  still in English even with a French or German pieforms.php in the
  according xx.utf8 in the langpacks folder.

  This bug is visible in cpds and plans artefacts.

  I didn't check the code to find the origin of the problem.

___
Mailing list: https://launchpad.net/~mahara-contributors
Post to : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp