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 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 php file containing language variables that look like this: define('YES', 'Yes');
I have a function in PHP language to create an xml file when requested.
I have a function language($tag) that requires a file lang.php which contains an array
I am playing with Zend 1.9 and would like to have the language parameter
I have a cross-language problem regarding md5 :). I have this code in Java:
i have a file speakWord.php: <?php header(Content-Type: audio/mpeg); $voice = file_get_contents('http://translate.google.com/translate_tts?tl=' . urlencode($_POST['language']) .
So I want to make my page to have multi language function, like German,
I have a csv-files like this, names.csv: id,name 1,John 2,Joe 3,Peter 4,Frank 5,Bill ...
This question is coded in pseudo-PHP, but I really don't mind what language I
I'm writing multilingual website. I have several files on server like: /index.php /files.php /funny.php

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.