Author |
Message |
08/11/2015 22:02:32
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Hello everybody,
Is there available, Hindi Language (India) for Advanced Poll 2.09. If yes , where can I get and how to install. Pls respond. Thanks.
|
|
09/11/2015 11:17:11
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Unfortunately no. You can see all available languages at http://svn.proxy2.de/repos/protected/poll/trunk/lang/ and are more than welcome to translate it for it's writer.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/10/2016 17:46:53
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Hi,
Can you guide me how to do this translation. I am ready to dedicate my time for doing this. Kindly respond and guide me regarding HINDi font for Advanced Poll script.
This message was edited 1 time. Last update was at 14/10/2016 17:47:46
|
|
14/10/2016 18:51:58
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Just have a look at english.php in lang folder and change the bits after the = signs
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
14/10/2016 22:47:18
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Thanks Carbonize,
I will start doing it soon. And let you know after that.
This message was edited 1 time. Last update was at 14/10/2016 22:48:09
|
|
15/10/2016 18:05:29
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Hi carbonize,
I have done the translation of the file english.php as guided above.
The 1st code I had edited as $lang["charset"] = "utf-8";
I have renamed the file to hindi.php (check attachment) and copied the file to the lang folder.
I changed the font from Admin>General Settings>
Its working THANKS Carbonize
Is there anything more I need to do regarding this ?
Filename |
hindi.php |
Download
|
Description |
|
Filesize |
10 Kbytes
|
Downloaded: |
1 time(s) |
This message was edited 4 times. Last update was at 15/10/2016 18:38:23
|
|
15/10/2016 19:21:10
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Thanks I will leave it here for others.
You do seem to have some extra lines in yours though that are not in the current version as can be seen at http://svn.proxy2.de/repos/public/guestbook/trunk/lang/english.php
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
17/10/2016 18:40:04
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
I have installed Hindi Language successfully. I can see Hindi language everywhere displayed correctly in Admin Panel.
But when I see the preview of the templates or created polls, its showing some unknown characters. pls refer attachments.
What to do. pls guide .
(Advanced Poll 2.09)
|
Filename |
AP font error 1.jpg |
Download
|
Description |
|
Filesize |
211 Kbytes
|
Downloaded: |
0 time(s) |
This message was edited 1 time. Last update was at 17/10/2016 18:41:44
|
|
17/10/2016 18:47:55
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
My bad I was thinking we were talking about the guestbook for a while. Guess the charset for the admin pages needs changing as well.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
17/10/2016 22:45:19
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
I tried my best but in vain. Pls can you guide me more specific on this.
Just attaching one more extra snapshot which may help. check attachment.
|
Filename |
AP font error 2.jpg |
Download
|
Description |
|
Filesize |
195 Kbytes
|
Downloaded: |
0 time(s) |
This message was edited 1 time. Last update was at 17/10/2016 22:48:00
|
|
19/10/2016 05:47:17
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
I got the UTF-8 charset working fine for the entire Advanced Poll by following this procedure :-
Inserted this code :-
<?php
header('Content-Type: text/html; charset=UTF-8');
mb_internal_encoding('UTF-8');
mb_http_output('UTF-8');
mb_http_input('UTF-8');
mb_regex_encoding('UTF-8');
?>
in :-
poll_cookie.php
include>config.inc.php
admin>common.inc.php
-------------------------------------------------------------------------------
But now having a problem, when graphic template selected , graph not showing and also CAPTCHA image not displaying.
Pls help ...
|
Filename |
Graphic Image Error.jpg |
Download
|
Description |
|
Filesize |
230 Kbytes
|
Downloaded: |
0 time(s) |
|
|
19/10/2016 09:19:09
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Was it showing before?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
19/10/2016 16:23:48
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Hi Carbonize, The problem is resolved automatically. I guess maybe because of the browser cookies it was not showing graphs and captcha. NOW EVERY THING IS COMPLETELY FINE. THANKS CARBONIZE for the help on this topic. This was the procedure to get the INDIAN LANGUAGE HINDI for Advanced Poll 2.09 :- 1. Upload the file hindi.php to lang folder. chk attachment. 2. LogIn to admin>general settings> and change the language to hindi & submit changes. 3. Insert the below code in poll_cookie.php , include>config.inc.php & admin>common.inc.php <?php // My php code to set utf-8 charset for the web page header('Content-Type: text/html; charset=UTF-8'); mb_internal_encoding('UTF-8'); mb_http_output('UTF-8'); mb_http_input('UTF-8'); mb_regex_encoding('UTF-8'); // My php code to set utf-8 charset for the web page ?> 4. Clear all web browser cookies, etc. Restart PC . ITS DONE.
Filename |
hindi.php |
Download
|
Description |
|
Filesize |
10 Kbytes
|
Downloaded: |
0 time(s) |
This message was edited 1 time. Last update was at 19/10/2016 16:27:25
|
|
28/10/2016 23:30:34
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Hi,
I am excessively getting the following error in error_log file :-
[28-Oct-2016 01:11:06 Asia/Kolkata] PHP Warning: Cannot modify header information - headers already sent by (output started at /home/solapurp/public_html/index.php:1853) in /home/solapurp/public_html/POLL/include/config.inc.php on line 32
Pls help me get rid of this.
|
|
01/11/2016 14:56:38
|
786sujit
Beginner
Joined: 27/10/2015 19:37:54
Messages: 16
Offline
|
Kindly ignore the previous procedure I mentioned at post 19/10/2016 16:27:25
which changes the language to Hindi but gives errors.
I am posting this message, in the hope that it may be helpful to a novice web designer like me.
NEW Procedure which is working absolutely fine without any errors:-
1. Upload the file hindi.php to lang folder.
2. LogIn to admin>general settings> and change the language to hindi & submit changes.
3. Insert the below code in between <head> ..... </head> for files
Demo1-5.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
AND
admin>templates>admin_preview.html
<meta http-equiv="Content-Type" content="text/html; charset=$lang[charset]">
THATS ALL. ADVANCED POLL is now configured perfectly to hindi language.
Note :- To understand better, where to insert the code, compare other files in the respective folders.
|
|
|