By flourishing on
anyone knows how to import a language po file to drupal ?
because my service provider turned php safe mode on, so i can't import the language file. or the other way manual import po to drupal also is ok.
thank you.
anyone knows how to import a language po file to drupal ?
because my service provider turned php safe mode on, so i can't import the language file. or the other way manual import po to drupal also is ok.
thank you.
Comments
(no title)
Generally try to create your files and temp directories yourself somewhere under your web root, don't let Drupal create them automatically. and give them write access (777). If they have been already created, delete them and create them again yourself. If the tmp file is outside your web space, create a new one too and then inform Drupal about it in admin/settings/file-system.
This "might" work.
In your case, are you getting an error message? If so, what is it? (with paths and everything).
warning: fopen()
warning: fopen() [function.fopen]: Unable to access C:\WINDOWS\TEMP\tmp9ED8.tmp in d:\clientweb\tradesignal\wwwroot\drupal\includes\locale.inc on line 516.
warning: fopen(C:\WINDOWS\TEMP\tmp9ED8.tmp) [function.fopen]: failed to open stream: No error in d:\clientweb\tradesignal\wwwroot\drupal\includes\locale.inc on line 516.
The translation import failed, because the file zh-hans.po could not be read.
The translation import of zh-hans.po failed.
this is the error message and this is occur under the solution you said i have followed.
thank you.
(no title)
Create your 'files' and your 'tmp' directory under drupal, for example:
Then, in the admin/settings/file-system page in Drupal, use these settings:
Files directory:
filesTemp directory:
files/tmpi have tried this. the
i have tried this. the errormsg is after i have done that .
(no title)
You have set you "Temp files directory" to
files/tmpin the admin/settings/file-system page, and still it looks in C:\WINDOWS\TEMP? Sorry, I can't help with this.