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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T15:51:40+00:00 2026-06-15T15:51:40+00:00

Using the config.php always_load configuration, how does one load a language file from a

  • 0

Using the config.php always_load configuration, how does one load a language file from a package?

All of the fuelphp documentation alludes to being able to do this, but only shows the syntax for loading from a module.

Here’s what I’m trying to do:

fuel/app/config/config.php

'always_load' => [
    'language' => [
        // loads fuel/app/lang/en/login.php into login group
        'login',
    ],
], 

fuel/app/config/production/config.php

'always_load' => [
    'language' => [     
        // override /config/config.php with contents from
        // /fuel/packages/pkg/lang/en/login.php
        'lang_file_from_package' => 'login',
    ],
], 
  • 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-06-15T15:51:41+00:00Added an answer on June 15, 2026 at 3:51 pm

    Packages are core extensions, which means it will merge the contents of the files found in app and in the package.

    As such, there is no method to define you want to load it from the package only, other then by specifying a fully qualified pathname, which will always load just that file.

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

Sidebar

Related Questions

I am trying to update a config file from PHP using regexp. I cant
I am using php and mysql. I have a Database config file (db-config.php) which
I'm using XML for a config file in PHP (Using SimpleXML), in creating the
I am using the config-file package in Ocaml. It looks like it should be
How do I read connection strings from custom config file (say abc.config) using WebConfigurationManager
I am using Codeigniter and i enabled CSRF via its config.php file... $config['csrf_protection'] =
Im using the following code to read to consumer_key and consumer_secret from config.php, pass
I have a 3 file: class.database.php config.php test.php In class.database.php i using: <?php class
Ohai, I'm writing a small PHP application, using a separated config.php file and a
I'm trying to require a config file in index.php by using: require_once __DIR__/application/common/config/Config.php; However,

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.