Forum for users of JoomlaWatch / ExtraWatch for Joomla, Wordpress, Drupal, Magento, Prestashop

JoomlaWatch / ExtraWatch has following features: live real-time visitor statistics, location of your visitors on a map, blocking of users based on bad word list, front-end counters, click heat map, definition of goals and rules, graphs, directory size monitoring, monitoring of increase of database data in time, nightly email reports, interactive HTML5 chart of traffic flow within your website, SEO report with keyword statistics and keyword position trends

Welcome, Guest
Please Login or Register.    Lost Password?

file french.php don't work
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: file french.php don't work
#1666
file french.php don't work 7 Years, 9 Months ago Karma: 0
Hello Matto.

I don't understand. To do a test I change the lines

# Frontend
DEFINE('_JW_FRONTEND_COUNTRIES', "Pays");
DEFINE('_JW_FRONTEND_VISITORS', "Visiteurs");
DEFINE('_JW_FRONTEND_TODAY', "Aujourd'hui");
DEFINE('_JW_FRONTEND_YESTERDAY', "Hier");
DEFINE('_JW_FRONTEND_THIS_WEEK', "Cette semaine");
DEFINE('_JW_FRONTEND_LAST_WEEK', "Semaine dernière");
DEFINE('_JW_FRONTEND_THIS_MONTH', "Ce mois");
DEFINE('_JW_FRONTEND_LAST_MONTH', "Mois dernier");
DEFINE('_JW_FRONTEND_TOTAL', "Total");

in the file \components\com_joomlawatch\lang\english.php and, in the front, I always see the textes in english

where come from the text in english ?

have a nice day
mrhappy947 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1690
Re:file french.php don't work 7 Years, 9 Months ago Karma: 0
Hello Matej,

Here what I did:

I duplicated all tables joomlawatch, joomlawatch_blocked, etc.. by joomlawatch2, joomlawatch_blocked2, etc…
I uninstalled the module 1.2.7
I uninstalled the component 1.2.7. All tables have been deleted.
I installed the module (+ publish) 1.2.8 b0.4
I installed the component 1.2.8 b0.4. All tables have been created but the table joomlawatch_ip2c is empty !!!!
I deleted all tables joomlawatch, joomlawatch_blocked, etc..
I renamed all tables joomlawatch2, joomlawatch_blocked2, etc… by joomlawatch, joomlawatch_blocked, etc..
I checked the files in \components\com_joomlawatch\lang. I found french.utf-8.php. I duplicate this file in french.php (a test!)

In the frontend, I have always the labels (visitors, countries, today, etc…) in English.
When I click on the French flag or spain flag of joomfish, always the labels are English.

I forget I forgot something?
Best regards.
Mrhappy947<br><br>Post edited by: mrhappy947, at: 2008/12/18 15:01
mrhappy947 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1711
Re:file french.php don't work 7 Years, 9 Months ago Karma: 0
Hello,

In the frontend, I have always the labels (visitors, countries, today, etc…) in English.
When I click on the French flag or spain flag of joomfish, always the labels are English.

A solution ?
mrhappy947 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1724
Re:file french.php don't work 7 Years, 9 Months ago Karma: 31
Hello MrHappy,

I finally got some time to read all the posts. Regarding your post about english language: when you change something in english.php, there is a caching mechanism which prevents the frontend to query the database every time some page is loaded. You have to wait for 10 minutes, or click &quot;Save&quot; in settings, which will clear this cache for you.

There was also a bug in 1.2.8b_something, where the &quot;Countries&quot; and &quot;Visitors&quot; string were left in .html.php, instead of the constant _JW_COUNTRIES.

JoomFish: I didn't play with it, so I don't know much about it, yes, it's something with the translations. You probably mean that when you click to change the language in JoomFish, the JW frontend will change too, right? I will investigate about it a bit. For now, it's only based in the Settings-&gt;Language.

Thank you for all your posts, and have a nice day.

Matto
matto (Admin)
Moderator
Posts: 770
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#1732
Re:file french.php don't work 7 Years, 9 Months ago Karma: 0
Hello Matto.

Ok, I installed the version 1.2.8 b06 (b05 in the backend?), I choose the language french and effectivly, the labels (visitors, countries, today, etc…) are now in french

Stay the problem with joomfish.

I think (?) , you must have a table with your frontend labels and to put a file like this (for exemple the component phoca gallery)

&lt;?xml version=&quot;1.0&quot; ?&gt;
&lt;joomfish type=&quot;contentelement&quot;&gt;
&lt;name&gt;Phoca Gallery&lt;/name&gt;
&lt;author&gt;C. Toivonen&lt;/author&gt;
&lt;version&gt;1.0&lt;/version&gt;
&lt;description&gt;Definition for Phoca Gallery Images&lt;/description&gt;
&lt;reference&gt;
&lt;table name=&quot;phocagallery&quot;&gt;
&lt;field type=&quot;referenceid&quot; name=&quot;id&quot; translate=&quot;0&quot;&gt;ID&lt;/field&gt;
&lt;field type=&quot;catid&quot; name=&quot;catid&quot; translate=&quot;0&quot;&gt;Category ID&lt;/field&gt;
&lt;field type=&quot;titletext&quot; name=&quot;title&quot; translate=&quot;1&quot;&gt;Title&lt;/field&gt;
&lt;field type=&quot;text&quot; name=&quot;alias&quot; translate=&quot;0&quot;&gt;Alias&lt;/field&gt;
&lt;field type=&quot;text&quot; name=&quot;filename&quot; translate=&quot;0&quot;&gt;File Name&lt;/field&gt;
&lt;field type=&quot;htmltext&quot; name=&quot;description&quot; translate=&quot;1&quot;&gt;Description&lt;/field&gt;
&lt;field type=&quot;checked_out_by&quot; name=&quot;checked_out&quot; translate=&quot;0&quot;&gt;Check out by&lt;/field&gt;
&lt;field type=&quot;checked_out_date&quot; name=&quot;checked_out_time&quot; translate=&quot;0&quot;&gt;Check out date&lt;/field&gt;
&lt;field type=&quot;text&quot; name=&quot;params&quot; translate=&quot;0&quot;&gt;Params&lt;/field&gt;
&lt;/table&gt;
&lt;/reference&gt;
&lt;translationfilters&gt;
&lt;section&gt;section&lt;/section&gt;
&lt;published&gt;published&lt;/published&gt;
&lt;/translationfilters&gt;
&lt;/joomfish&gt;

in the folder www\mysite\administrator\components\com_joomfish\contentelements

After joomfish takes these informations and proposes them in his traductor
mrhappy947 (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1

Latest News

Get the latest freelance project announcements
Follow CodeGravity.com

Download ExtraWatch™

ExtraWatch™ FREE is Joomla, Wordpress, Prestashop, Magento plugin with following features: Live Stats, Nightly Email Reports, Goals, Graphs, Anti-spam, History and more