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

  • Home
  • SEARCH
  • 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 767899
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T18:05:51+00:00 2026-05-14T18:05:51+00:00

I have a language file like this: <?php $lng_imagepath = images/; $lng_imageext = gif;

  • 0

I have a language file like this:

<?php
$lng_imagepath      = "images/";
$lng_imageext       = "gif";
$lng_characset      = "iso-8859-1";
$lng_prefix     = "en_";
$lng_tabhome        = "Home";
$lng_tabmyavenue    = "My Profile";
$lng_tabregister    = "Register";
$lng_tabhelp        = "Help";
$lng_tabbuybids     = "Buy Bids";
?>

When I convert into a .html file and run Google translate it looks like this:

Glemt brugernavn eller adgangskode? “; $ lng_invaliddata =” Ugyldig brugernavn og password. “$ lng_accountsuspend =” Din konto er suspenderet af vindetbud.dk. “$ lng_accountdelete =” Din konto er blevet slettet af vindetbud.dk. “$ lng_enterdata = “Angiv brugernavn og adgangskode.” $ lng_enterpassword = “Angiv adgangskoden.” / / slut login side variabel / / Language variabler for registrering side $ lng_frregistration = “Gratis registrering”; $ lng_vouchermessage = “voucher, indløses mod første auktion du vinder “; $ lng_amazingproducts =” Chancen for at vinde fantastiske produkter til fantastiske priser “; $ lng_registrationdata =” Du kan tilmelde med vindetbud.dk, bedes du udfylde følgende “; $ lng_personalinfo =” Personlige oplysninger “; $ lng_firstname =” Første Name “; $ lng_lastname =” Efternavn “; $ lng_birthdate =” Fødselsdato “;

Do you have any clever ideas how to translate the file?

P.S. I know that grammar won’t be perfect, but it would help alot to use google translate.

  • 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-14T18:05:52+00:00Added an answer on May 14, 2026 at 6:05 pm

    What I’d do would be to use the Google Translate API. Of course, as you have already noticed, you cannot simply send the full content of your file so you will have to first recognize which areas you want to translate. You can do so by using regular expresions. Some links you may be interested in:

    • gtranslate-api-php
    • Regular expresions info
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a view that I'm loading, and my onCreate() method looks like this:
I have a small question. I have a file in the following format: 1
Possible Duplicate: Pass a PHP string to a Javascript variable (and escape newlines) I'm
I have moved my server from dreamhost to Godaddy recently When I was with
So I have a to-do list of items that are dynamically populated by user
I need to find a way to join two XML files when they have
I have a current Android app that uses i18n via resources. res/values-es/strings.xml and so
I have a problem.... I made a java program that does the following: BufferedReader
Randomly, on a few projects, some pages display random symbols instead of an error
Being a programmer I occasionally find the need to analyze large amounts of data

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.