SELECT TRIM(
REPLACE(
REPLACE(
REPLACE(sob_all_label, "<br> <span class='nuActionButton'>", "")
, "<br> <span class='nuActionButton'>", "")
, "</span>", "")
) AS Labels
FROM `zzzzsys_object`
GROUP BY Labels
HAVING Labels NOT IN ('_________________________', '', '?');
Are there any other tables or in the php / js code where there are translatable strings?
The string nuTranslate( is present in some js and php files where translation is imputed.
There is a typo in the nusqlbuilder4.sql - missing semicolon:
Replace  < with <
/* Translation Stats */
SELECT trl_language
, COUNT(*) AS translated_strings
, (SELECT COUNT(DISTINCT trl_english) FROM `zzzzsys_translate` a)-COUNT(*) AS ToTranslate
FROM `zzzzsys_translate` GROUP BY trl_language ORDER BY translated_strings DESC;
/* Missing Strings */
/* change @lang value for each language's strings yet to be translated */
SET @lang:='French';
SELECT a.trl_english
FROM `zzzzsys_translate` a LEFT JOIN
(SELECT b.trl_english FROM zzzzsys_translate b WHERE b.trl_language = @lang) lang
USING (trl_english)
WHERE lang.trl_english IS NULL
GROUP BY a.trl_english;