It could depend on the game and its structure.
Some games needs have the text just ready to be translated, some games needs total decryption, some games has images as texts, so you're also going to make a program to import/export this and that. :/
Long story short, easier said than done. :/