bugGNU FM - Bugs: bug #26359, Add support for gettext

 
 

bug #26359: Add support for gettext

Submitted by:  Matt Lee <mattl>
Submitted on:  Mon 27 Apr 2009 04:22:09 PM UTC  
 
Category: NoneSeverity: 5 - Blocker
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Michael Sheldon <elleo>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Sat 09 May 2009 08:10:51 AM UTC, comment #6:

Okay, so i can go through and finish the translation functionality.

Could anyone assign me to this?

Not Available <piotrszulawski>
Fri 08 May 2009 10:33:32 PM UTC, comment #5:

This has now been implemented in r1408 and r1423. All templates have been updated to support translatable strings and an example German translation has been created (just translates a few menu items).

The conversion of HTTP_ACCEPT_LANGUAGE could be improved by the addition of a full lookup table, but since the user can also set their language manually that isn't a high priority.

Michael Sheldon <elleo>
Project MemberIn charge of this item.
Thu 07 May 2009 08:36:27 AM UTC, comment #4:

Most (if not all) of the translatable strings are in the smarty templates, so it'd make more sense to use smarty's gettext integration to handle translation. I'll put together an example of how to do this at the weekend, then someone with more time can go through the rest of the templates.

Michael Sheldon <elleo>
Project MemberIn charge of this item.
Wed 06 May 2009 07:38:26 PM UTC, comment #3:

please review

Not Available <piotrszulawski>
Wed 29 Apr 2009 08:23:54 AM UTC, comment #2:

Attached stub

(file #18050)

Not Available <piotrszulawski>
Tue 28 Apr 2009 10:07:46 PM UTC, comment #1:

Working on it, please set status to confirmed

Not Available <piotrszulawski>
Mon 27 Apr 2009 04:22:09 PM UTC, original submission:

http://www.php.net/gettext

For translations

Matt Lee <mattl>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #18050:  Translator.php added by piotrszulawski (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by elleo (Posted a comment)
  • -unavailable- added by piotrszulawski (Posted a comment)
  • -unavailable- added by mattl (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 May 2009 10:33:32 PM UTCelleoStatusNone=>Fixed
      Assigned toNone=>elleo
      Open/ClosedOpen=>Closed
    Wed 29 Apr 2009 08:23:54 AM UTCpiotrszulawskiAttached File-=>Added Translator.php, #18050

    Back to the top


    Powered by Savane 3.1-cleanup1