Reparsing all projects without losing translation
Psicomante - January 7, 2008 - 23:28
| Project: | Localization server |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Is it possible delete all files, lines and projects recorded in DB without losing database?
Something like
<?php
TRUNCATE 'l10n_community_file';
TRUNCATE 'l10n_community_line';
TRUNCATE 'l10n_community_project';
TRUNCATE 'l10n_community_release';
?>And reparsing all projects?

#1
http://drupal.org/node/207390#comment-682953
i close
#2
2 Psicomante You have forgotten about 'l10n_community_error' ;-)
I think to delete all data(4 table) from tables - a mistake. Users cannot import data under projects (while all scanning completely will not be executed).
Best - delete abandoned, olds and bads projects. http://drupal.org/node/203658.
I think, it needs to be added in opportunities Lacalization server...
#3
I'm sorry, i don't understand why users cannot import data under projects (while all scanning completely will not be executed).
#4
At me ~1700 files. And it needs some time ;)
#5
oh ok, i understand. It's not a big problem for my site. I put down for some hours and it's ok :). Thanks a lot for the help!
#6
The fix in http://drupal.org/node/203658#comment-1061454 introduces the "start over" functionality for projects which lets you start over with individual projects. The API can be used to start over with all projects, I did not build an interface for that. However, since the underlying code is considered relatively stable now, I suspect this will be a good solution as-is.
#7
Automatically closed -- issue fixed for two weeks with no activity.