Language issues in wall factory:Can you help? 12 years 11 months ago #1

  • GERARD DE ANGELI
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 100
Hello

I installed wall factory in a Love Factory site at the request of one of my clients  (edenclic.fr), and I have problems with translations.
I managed to create most missing text strings, but still remain 3 issues (see screen images enclosed).
Mostly:
- share (attached to wallfactory share button)
- Posts: I defined the language strings, but does not work
- Cancel Upload, and Upload
- BIG ISSUE: the day/month translations?

CAN YOU HELP?
Thanks

Gérard de Angéli

This image is hidden for guests.
Please log in or register to see it.

The administrator has disabled public write access.

Re: Language issues in wall factory:Can you help? 12 years 11 months ago #2

  • Codruta K.
  • Codruta K.'s Avatar
  • Developer
  • Bucharest, Romania
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 1006
Hello,

1. to translate 'share' search in file views/posts/tmpl/_list.php, JText::_('share'), or JText::_(' share')
2. to translate user's Wall, need to edit views/wall/tmpl/default.php, line 14:
<h1><?php echo $this->wall->alias.'\'s Wall'; ?></h1>
3. for Upload, cancel Upload, search in file views/writepost/tmpl/_upload.php
<input type="button" id="btnCancelImage" value="Cancel Upload"..... - translate this value.
'Upload' is a button, an image (assets/images/button-upload.png).

thePHPfactory Customer Support
The administrator has disabled public write access.

Re: Language issues in wall factory:Can you help? 12 years 11 months ago #3

  • Codruta K.
  • Codruta K.'s Avatar
  • Developer
  • Bucharest, Romania
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 1006
to translate dates, edit files where you have date like in example bellow: 

for example: in views/posts/tmpl/_list.php
search code
<?php echo date('H:i:s a l, d F Y', JText::_(strtotime($post->date_created))); ?>

and replace with
<?php $jDate = JFactory::getDate(strtotime($post->date_created));
    echo $jDate->toFormat('%a %d %b %Y - %H:%M');
?>
or other format: echo $jDate->toFormat('%Y-%m-%d %H:%M:%S');

and for 'Posts' translation, in the same files, search
echo JText::_('Posts: ');
and replace

or edit en-GB.com_wallfactory.ini and add
POSTS=Posts:
and replace
echo JText::_('Posts: ');
with 
echo JText::_('POSTS');


thePHPfactory Customer Support
The administrator has disabled public write access.

Link issues in wall factory:Can you help? 11 years 11 months ago #4

  • GERARD DE ANGELI
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 100
Hello
We installed a Wall factory version1.1.7 in a Joomla 1.5 site with Love Factory component 1.7.6.
We have the following issues:
1. Share and Comment link do not work
2. More options link (under the message) do not work

How can we solve these issues ? Can you suggest a solution ?
Thanks a lot

Gérard
The administrator has disabled public write access.

Re: Language issues in wall factory:Can you help? 11 years 10 months ago #5

  • Codruta K.
  • Codruta K.'s Avatar
  • Developer
  • Bucharest, Romania
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 1006
Hi,

looks like a javascript conflict.

Have you changed script components\com_wallfactory\assets\js\main.js as described a week ago?

Could you provide your URL to check where the issue is?
thePHPfactory Customer Support
The administrator has disabled public write access.

Re: Language issues in wall factory:Can you help? 11 years 10 months ago #6

  • GERARD DE ANGELI
  • Localtime: 19:47
  • Europe/Bucharest
  • Posts: 100
Hello
Thanks for your message.
I have not changed the code yet, as per your PM message of last week.
But I will within the next few days and keep you informed.
Again thanks for your help.
Gérard
The administrator has disabled public write access.