Code: Select all
Notice: Error: Could not load language module/lpbc! in ../system/library/language.php on line 26
Code: Select all
Notice: Error: Could not load language module/lpbc! in ../system/library/language.php on line 26
OpenCart®
Project Owner & Developer.
Glad to see you added language fallback back in. But this way is limited and only works at the file level, instead of each individual entryDaniel wrote:change your languagte class with this one:
http://code.google.com/p/opencart/sourc ... n642&r=642
Well it comes down to preferenceDaniel wrote:as long as it does nto display this message:
Error: Could not load language module/lpbc
its fine.
Ok in my case, my default language is other than english, I copy the translations files from modules/ I install to the other language's pack...2. My version, Language fallback at the file level
- it will show english for files that are missing
- it will show the english value for individual entries that are missing
- it will show the variable name (e.g. "text_name") for files that are missing
- it will never die fatally.
Which is preferred?
Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 29
And after that you used our FREE search to look for "headers already sent" to find out that this has to do with white spaces in you language files after ?>.iogames wrote:Well since I changed the language.php I got this error when I change Languages
Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 29
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
markman-b wrote:to doe??? Hahaha.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
You "could" change the default language for fallback, but realistically, english is the only language that comes with opencart. English is the only language guaranteed to ALWAYS have the latest entries. So english should ideally never be removed.iogames wrote:Ok in my case, my default language is other than english, I copy the translations files from modules/ I install to the other language's pack...2. My version, Language fallback at the file level
- it will show english for files that are missing
- it will show the english value for individual entries that are missing
- it will show the variable name (e.g. "text_name") for files that are missing
- it will never die fatally.
Which is preferred?
So it does change de code if my language is other than english?
That is....., if these is no language related FILE missing.Qphoria wrote: But still, if another language is used for fallback, and it doesn't have the latest entries, it will just show the raw variable names like "text_name", "entry_number" until you update the file. So it won't really change anything. You just change the word "english" in that language.php file to your language.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
I just found a white space before ?> in layout.php, no more, and I manually checked the 2 header.php files...Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 28Warning: Cannot modify header information - headers already sent by (output started at /home/chirigua/public_html/catalog/language/spanish/common/header.php:1) in /home/chirigua/public_html/system/engine/controller.php on line 29
What version of OpenCart is the language pack compatible with?iogames wrote:FILE missing? Ok I will check for that, I took a free package so it might be.....
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
You could update that Spanish Language pack and then share it with others.iogames wrote:Wow! half day! but I solved, the spanish version that it's for free is a real mess...
So I translated header.php 's again and problem solved...
So for the next person that have problems...
- for every addon that you install, please add 2 language files on yourlanguage/module/ [admin & catalog]
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
The idea of Qphoria solves partly the problem because that way it sends the email in English.Notice: Error: Could not load language greek! in /home/www/ilias/psistis.gr/www/vqmod/vqcache/vq2-system_library_language.php on line 27
But the problem is that I must have it it greek and I have all the right files translated.Qphoria wrote:Glad to see you added language fallback back in. But this way is limited and only works at the file level, instead of each individual entryDaniel wrote:change your languagte class with this one:
http://code.google.com/p/opencart/sourc ... n642&r=642
Instead you should load english first, then load the specific, this way any ones that the specific ones have will overwrite the existing english versions, and any of the variables the specific language doesn't have, will fallback to english.
I've attached the version I made in 1.4.9.x and it has been working fine all along and has all the checks in place. I believe you will want to add this one to the core.
Users can drop it into system/library and overwrite the existing. This version works with 1.4.0 through 1.5.1.3
If you are seeing it in english.. that means the greek version of that file doesn't exist.loukiad wrote: But the problem is that I must have it it greek and I have all the right files translated.
Any ideas???
Users browsing this forum: No registered users and 80 guests