Newbie Spellweaver
- Joined
- Jan 10, 2017
- Messages
- 76
- Reaction score
- 32
A script that translates the catalog_items based on the content in the furnidata. Works with arcturus + plus emulator. Its meant to be used with my other script: http://forum.ragezone.com/f353/furnidata-translator-1134999/
How it works
It updates the catalog_name with the value from <name></name> inside the furnidata.
You should first translate the furnidata with the other script and then translate the catalog_items.
Setup
Extract the zip in your htdocs/wwwroot and replace the furnidata.xml with your own.
Then in translator.php edit the database settings and also the $table variable. If you use arcturus, put "items_base" otherwise put "furniture" for plus emulator. Finally open translator.php in your browser. Let the page load, its translating.
FAQ
Incorrect string value
In translator.php uncomment the line 17.
Data too long for column 'catalog_name'
Run this sql query:
Maximum execution time of 30 seconds exceeded
Add this code to translator.php:
How it works
It updates the catalog_name with the value from <name></name> inside the furnidata.
You should first translate the furnidata with the other script and then translate the catalog_items.
Setup
Extract the zip in your htdocs/wwwroot and replace the furnidata.xml with your own.
Then in translator.php edit the database settings and also the $table variable. If you use arcturus, put "items_base" otherwise put "furniture" for plus emulator. Finally open translator.php in your browser. Let the page load, its translating.
FAQ
Incorrect string value
In translator.php uncomment the line 17.
Data too long for column 'catalog_name'
Run this sql query:
Code:
[COLOR=#663821]ALTER [/COLOR][COLOR=#663821]TABLE[/COLOR][COLOR=#202020] catalog_items [/COLOR][COLOR=#663821]MODIFY [/COLOR][COLOR=#663821]COLUMN[/COLOR][COLOR=#202020] catalog_name [/COLOR][COLOR=#663821]varchar[/COLOR][COLOR=#202020]([/COLOR][COLOR=#1906FD]255[/COLOR][COLOR=#202020]) [/COLOR][COLOR=#663821]NOT [/COLOR][COLOR=#663821]NULL[/COLOR][COLOR=#202020];[/COLOR]
Maximum execution time of 30 seconds exceeded
Add this code to translator.php:
Code:
ini_set('max_execution_time', 0);
Attachments
You must be registered for see attachments list
Last edited: