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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T13:43:32+00:00 2026-05-25T13:43:32+00:00

I have a small Python project (a few hundred lines) in a Git repository.

  • 0

I have a small Python project (a few hundred lines) in a Git repository. I started it myself, and wrote it in French. That is, all identifiers, comments, and text strings.

Now, in order for other, non-French speaking people, to be able to use it, I am thinking of translating the project in English. What would be a good strategy to do so ?

  • Should I just create extra commit(s) at the tip of my main branch, and translate the whole thing?
  • Or should I re-create the history and translate each commit separately? If so, what workflow would you recommend ?

For what it is worth, I have kept the history linear until now. Also, I’m pretty sure there are no clones of the repository other that the ones on my computer and on my Gitorious account. So, for that matter, I don’t think it would be a problem to rewrite history.

All input is welcome: remarks, suggestions, questions.
Thanks !

  • 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-25T13:43:33+00:00Added an answer on May 25, 2026 at 1:43 pm

    I think I would just use the first option and create extra commits.
    IMO, the current state of the code is what counts for current development. If the current version of the code is all in English, who cares if there are old versions with French variable names in the history?

    The only issue that I can think of would be when a non-French speaking developer will have to browse through the old “French” commits (trying to understand how something certain works, or why it was done the way it is…whatever).
    French variable names and comments (or even commit messages!) will make it harder for that developer to understand what’s going on.

    On the other hand…who knows if this will ever happen? If the project is not that big now, there will probably not be that much French commits. So if there will ever be any issue where someone who does not speak French will have to browse the French history, they can just ask you for clarification.

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

Sidebar

Related Questions

I have a small project that basically a Python wrapper to a websites API.
I have a small project I am doing in Python using web.py. It's a
I have a small project I want to try porting to Python 3 -
I currently have a small Python script that I'm using to spawn multiple executables,
I have a small project that would be perfect for Google App Engine. Implementing
I have a few Python packages that I would like to tidy up and
I have a project that I wrote in PHP/symfony that uses 45 tables. I'm
I have a small web.py Python application that I would like to serve under
We have a small project that involves automatically parsing some server/mail logs (among other
I have a small python script which i use everyday......it basically reads a 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.