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 7791237
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:49:26+00:00 2026-06-01T21:49:26+00:00

I have an application in which I used gettext to allow easy translation. The

  • 0

I have an application in which I used gettext to allow easy translation.

The problem that I have is that everytime I need to release a new version, I have to scan the .php files with the ICanLocalize scanner and this gives me a new .po file.

While it’s ok for the default language, whenever I need to translate it to another one, I have to start all over again from that same new file.

I know I’m missing a big feature of gettext by doing this, but I don’t know which is it or how to use it. I’ve tried googling and the only clue I got is that I need to generate .pot files instead of .po, but I really don’t understand how they work.

My program adds new strings on every release, but also eliminates others, so I wouldn’t like to leave those in the .po files.

I’m a little lost here, could someone give me at least a pointer in the right direction?

Thanks for your help!

EDIT
I found that I can generate the file from within poedit itself, but it brings another problem. I have 3 different text domains on the app and want only one to be on the pot file… I’ll keep looing for solutions

  • 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-06-01T21:49:27+00:00Added an answer on June 1, 2026 at 9:49 pm

    xgettextis used to extract I18N’d strings from source. msgmerge merges an existing .po file into a new .pot file, and results in a new .po file. You’ll have to handle the separate domains yourself, by only passing the appropriate source files.

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

Sidebar

Related Questions

The problem: we have one application that has a portion which is used by
I have an application which is used by users to download some files that
The following problem has me stumped: I have a WinForms application which used to
We have a Server/Client cybercafe management application which used to work fine on Windows
I have a number of enums in my application which are used as property
I have a windows service application which works using remoting. It is used to
In my c# application i have this small form which is used to set
I have to create a DLL which is used by a VB6 application. This
In Application i have two buttons in which one button is used as a
I have an application which is used to modify content of a pdf file.

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.