Jump to content

want to upgrade


ricmetal

Recommended Posts

hey guys

i made this php application without any kind of specific framework....it started out a just a little website for a friend, but i kinda want to try and upgrade it to create an app i can sell.

 

for this, i want to add a language setting so users can navigate the app with their desired language.

i looked up the MVC framework because i've been modding OpenCart, but it looks too complex to learn just for what i need.

 

so, i ask, is their any easier way to setting up a language setting thing, preferably as lite as possible.

 

?

 

my app is divided into single php pages, connected through href links solely.

 

 

 

Link to comment
Share on other sites

OpenCart uses something, that, depending on a language setting it loads a different php page filled with variables like so:

$_['text_no_reviews']     = 'There are no reviews for this product.';

so, if your language for the app is english it loads that php file filled with variabes containing text in english.

i want to do something similar.

i want to have a php file with all the text to be used throughout the application in English, and call it from each php page i am at.

 

i don't how to make myself clearer because i myself and not a hardcore coder. like the avatar sub title says: 'enthusiast'

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.