Previous Thread
Next Thread
Print Thread
Hop To
#184348 05/17/2007 10:41 AM
Joined: Jun 2006
Posts: 197
E
enthusiast
enthusiast
E Offline
Joined: Jun 2006
Posts: 197
I ask an user from my forum to do the translation to Spanish on my forum.
She send all files back and I upload it. Now if one change the language preference to Spanish, the next login he/she will receive a blank screen. No error message, just a blank screen.
Is there any fast/easy way to check the language files for errors other then open one by one and visually see if there is ";" at the and of each line, no " in the middle of each line, all translation are between "", and etc.?
I start doing it mannualy, but takes very long time for each file...
Thank you

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
If you have command line access to the server, you can run "php -l" on each language file to check syntax on the file. If you don't then you can probably use a good php editor to load in the files on your local computer and use the editor to check syntax.

Joined: Jun 2006
Posts: 197
E
enthusiast
enthusiast
E Offline
Joined: Jun 2006
Posts: 197
Originally Posted by Rick
If you have command line access to the server, you can run "php -l" on each language file to check syntax on the file. If you don't then you can probably use a good php editor to load in the files on your local computer and use the editor to check syntax.


That is an idea. I open it on Dreamweaver (I don't have line access to my server) and now is going a little faster...
Thank you

Joined: Jun 2006
Posts: 16,535
Likes: 150
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,535
Likes: 150
Likely, they didn't comment out any ' (or " depending on what the opening/closing character is of the line)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
0 members (), 214 guests, and 119 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)