find "$TOPDIR" -type f |sed -e '
s:'"$TOPDIR"'::
s:^[^/].*::
s:\(.*/locale/'"$RLOCALE"'/\([^/]\+/\)*'"$PATTERN"'\.mo\)$:%lang(\2) \1:
s:\(.*/locale/'"$RLOCALE"'/\([^/]\+/\)*'"$PATTERN"'\.\(mo\|qm\)\)$:%lang(\2) \1:
s:^[^%].*::
s:^%lang(en) ::
/^$/d
find "$TOPDIR" -type l |sed -e '
s:\(.*/locale/'"$RLOCALE"'/\([^/]\+/\)*'"$PATTERN"'\.mo\)$:%lang(\2) %attr(-,root,root) \1:
s:\(.*/locale/'"$RLOCALE"'/\([^/]\+/\)*'"$PATTERN"'\.\(mo\|qm\)\)$:%lang(\2) %attr(-,root,root) \1: