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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T12:26:31+00:00 2026-05-24T12:26:31+00:00

I have built a multilingual website with CodeIgniter using this library: http://codeigniter.com/wiki/URI_Language_Identifier/ I use

  • 0

I have built a multilingual website with CodeIgniter using this library:

http://codeigniter.com/wiki/URI_Language_Identifier/

I use it to change language in the navigation menu and the captions for some pictures. The problem is that to edit these texts I have to actually open the language file and change it there. I’d like to create an admin panel to manage these files. Is there a nice and clean way to do this?

  • 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-24T12:26:32+00:00Added an answer on May 24, 2026 at 12:26 pm

    Another option besides parsing, editing and saving the actual files, is to move the language translations from the language file to the database, then you can build the $lang array from the database inside the language file.

    So your language file becomes:

    $LANGCI =& get_instance();
    
    $lang_query = $LANGCI->db->where('lang', 'language_x')->get('language');
    
    foreach ($lang_query->result() as $language_data) {
    
        $lang[$language_data->index] = $language_data->translation;
    }
    

    Instead of:

    $lang['min_size']           = 'The %s field must be at least %s.';
    $lang['max_size']           = 'The %s field can not exceed %s.';
    

    Then you could use normal database calls to add/edit/update the translations.

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

Sidebar

Related Questions

I have built a Library project (DLL) in .NET. And sometimes I use the
I have built ffmpeg for Android using the code and method described at https://github.com/halfninja/android-ffmpeg-x264
I have built a web page which contains a Crystal Report built using the
I have built a number of asp.net servercontrols into a class library, & I
I am looking to build a multilingual website using MS expressions web. The website
I have built a simple StreamGeometry, using MSDN example: StreamGeometry geometry = new StreamGeometry();
I have built a component library that includes an executive class which does work
I have built a small app using javascript. I am using javascript for form
I have built a website (PHP) with more than 60 pages. I have only
I have built a rich Text Editor for Flex 4 using the instruction in

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.