Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Template design and Front-End Code

Post Reply
 
Thread Tools
  #41  
Old 05-14-2008, 03:10 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
This is a response to the review DerPatrick posted:

Quote:
Nice template, but I can't say that it is professional. It is horrible to change the language of the template and it seems impossible to change to words "IMAGE INFO", "PHOTO STREAM" and "COMMENT FORM" - don't know where the author has hiding them. Seems the author of the tmeplate never heard about language support of pixelpost and that not the whole world speaks english. Sorry, but i'am very angry after a lot of time I spent of try changing the template but it wont work.

Whats about the YAHOO-Stuff? There are several scripts that would loaded from YAHOO - but why? There is nothing about in the doc!
Patrick, this is the first time I've ever used Pixelpost so you're right, I don't know much about the language support. I can however fix the template to support this. Instead of trying to change the template and getting very angry in the process, you could have asked about it because as with every beta thing I was hoping to get feedback in order to improve.

The 'YAHOO-stuff' is YUI, which is a Javascript framework. There's nothing in the docs about it because there doesn't need to be. YUI is an open source framework just like JQuery or Prototype. It loads from Yahoo servers because they have the files on a CDN (content delivery network) which is way faster than serving them from your own host.
Reply With Quote
  #42  
Old 05-14-2008, 08:34 PM
Inty Offline
forum loafer
 
Join Date: May 2008
Posts: 2
it is entirely possible to adapt it in another language, demo Dark matter in french.
Certainly this is not top but it works.
To do this, I had to put their hands in the code, if it concerns certain I can identify files and line numbers to find such information.

I repeat, I love this template!
Reply With Quote
  #43  
Old 05-14-2008, 09:13 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Some terms are in dynamically generated markup by Javascript and may therefore be a bit hard to find.

I will make translation of the template easier in a future release. The suggestion to do so is great. The bitching wasn't. That was kind of my point
Reply With Quote
  #44  
Old 05-15-2008, 06:41 AM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Ok, so I got annoyed enough with DerPatrick's flattery that I created a new version which is probably easier to translate than any other theme. Instead of having to edit templates or javascript, there are now two files:
  • l18n.php in the dark matter directory
  • l18n.js in darkmatter/js

These files contain all strings used in the entire template. Edit these and the whole thing is translated. In the future, if you make a backup of these files this will prevent you from having to translate again after an upgrade.

Let me know if I missed anything.
Reply With Quote
  #45  
Old 05-15-2008, 06:46 AM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Oh I forgot:

If any of you create versions of these two files in other languages please email them to me at marco@i-marco.nl. I'll gladly include them in future releases so other people can benefit from your work.

Please post in this thread if you've sent me a file and mention which language you translated in order to prevent people from doing the same job twice.

Thank you!
Reply With Quote
  #46  
Old 05-15-2008, 05:06 PM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Pulled version b7 and replaced with b8 after finding out the add-on breaks the add-ons admin screen.

Sorry for the inconvenience.
Reply With Quote
  #47  
Old 05-15-2008, 09:29 PM
DerPatrick's Avatar
DerPatrick Offline
pp regular
 
Join Date: May 2006
Location: Rees/NRW/Germany
Posts: 38
Thumbs up Sorry

Im sorry about what I have posted in my review, I was just angry about searching in several places of the theme and still dont able to get all I want to translate.

The new Version is much better and now I found everything I want to translate, but what I want say, please have only one look to the existing language file, and you can half the work of translating, because most words are already translated, there is a translation with automatic for comment/comments - please use the existing translation tags instead of making own for the same words.

Thanks much for a very good theme, and sorry again for my first negative review!

You find my photoblog at http://fotoblox.de

Patrick
__________________
Captain: I thought you were going to upgrade this.
Trip: That is the upgrade.
Well, if you want, I can change the color.

-------------------------------------------------
My fotoblog
Reply With Quote
  #48  
Old 05-16-2008, 05:30 AM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
Quote:
Originally Posted by pinkasimov View Post
Thx for the anwser ! But I'm an idiot !!
I forget to put the "dm_support.php" file in the addons folder… Now, everything is ok ;-)

Still cannot find it in the download file
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
  #49  
Old 05-16-2008, 05:58 AM
TheMarco Offline
pixelpost guru
 
Join Date: Apr 2008
Posts: 195
Uhm... it is in there....
Reply With Quote
  #50  
Old 05-16-2008, 06:23 AM
ranmajen's Avatar
ranmajen Offline
pp veteran
 
Join Date: Apr 2008
Posts: 89
oh! found it..thanks
__________________
*********************************RanmaJen's Network*************************************
The Dark Heaven - Home of Anne Rice Vampires
The Vampire Coven - The Fanlisting of Anne Rice's Vampires
The Vampire Coven - Anne Rice Topsites
The Vampire Coven Banner Exchange
Laputa - Castle in the Sky Fanlisting
Ranma 1/2 - Ryoga Hibiki Fanlisting
Mitsuru Adachi - Touch Fanlisting
Love Letter Fanlisting
************************************************** ************************************
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 04:47 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs