FLTK logo

STR #1074

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 Home  |  Articles & FAQs  |  Bugs & Features  |  Documentation  |  Download  |  Screenshots  ]
 

Return to Bugs & Features | Roadmap 2.0 | Post Text | Post File | SVN ⇄ GIT ]

STR #1074

Application:FLTK Library
Status:5 - New
Priority:1 - Request for Enhancement, e.g. asking for a feature
Scope:3 - Applies to all machines and operating systems
Subsystem:Unassigned
Summary:libintl support for fluid
Version:2.0-feature
Created By:yasuhiro.matsumoto
Assigned To:Unassigned
Fix Version:Unassigned
Update Notification:

Receive EMails Don't Receive EMails

Trouble Report Files:

Post File ]
Name/Time/Date Filename/Size  
 
#1 yasuhiro.matsumoto
22:12 Nov 09, 2005
fltk_fluid_gettext.diff
8k
 
     

Trouble Report Comments:

Post Text ]
Name/Time/Date Text  
 
#1 yasuhiro.matsumoto
22:12 Nov 09, 2005
This is a patch for fluid which can use libintl.
Please check and include.

following are example main code.
-------------------
#include <fltk/run.h>
#include <locale.h>
#include "foo.h"

int main(void) {
    setlocale(LC_ALL, "");
    bindtextdomain("foo", ".");
    textdomain("foo");

    // codeset must be set utf-8!
    bind_textdomain_codeset("foo", "utf-8");

    fltk::Window *win = make_window();
    win->show();
    fltk::run();
    return 0;
}
-------------------
 
     

Return to Bugs & Features | Post Text | Post File ]

 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.