Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1013663
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T10:08:17+00:00 2026-05-16T10:08:17+00:00

I am interested in the best approach to making sure your Linux & GTK

  • 0

I am interested in the “best approach” to making sure your Linux & GTK based application is built from the ground up to support i18n and localization with minimal amount of pain.

I’ve always heard that localization can be a real pain point to implement, so I am wondering if there is a good guideline and/or approach that can help make it as straight forward to have i18n and localization support in an application?

Here’s an example guideline that I read, however this is Microsoft Windows specific… WPF Globalization and Localization Overview

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T10:08:17+00:00Added an answer on May 16, 2026 at 10:08 am

    Use gettext. It’s the standard method of supporting I18N on Linux (and can be used on other platforms as well).

    The documentation looks intimidating but it basically boils down to changing your code from:

    printf("Hello World!");
    

    to

    printf(gettext("Hello World!"));
    

    then the program xgettext will extract all the strings in gettext() into PO files which can be edited using tools like poedit


    Here’s a nice short tutorial on how to use gettext: A tutorial on Native Language Support using GNU gettext. It basically covers the typical workflow of using gettext. Another nice article is PHP centric:Gettext – O’Reilly Media. Google around for “gettext tutorial” and you’ll probably find more.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to figure out the best approach to display combined tables based on
What is the best approach to build a small (but scalable) application that works
what is the best approach to generate random samples from bivariate normal and student
So I'm interested in hearing different thoughts about what is the best way to
I'm interested in what you find are the best development references for learning and
I am interested in moving a number of my projects from Visual Studio and
Although I'm specifically interested in web application information, I would also be somewhat curious
What are the best practices for building a GUI desktop app that will support
I am interested in extending my application with plug-ins. I made the Application to
Imagine to have a Desktop application - could be best described as record keeping

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.