What is 30832 number of meaning?

What is 30832 number of meaning?

par Uyanga Tuvshinsanaa,
Nombre de réponses : 5


1. What is 30832 number of meaning? 

2. I downloaded last version of English language pack (.zip file) from lang.moodle.org. Then I unzipped file there was 2775 files (.php) and 159311 strings on each file. I can't find this 30832 number. How does it count?








En réponse à Uyanga Tuvshinsanaa

Re: What is 30832 number of meaning?

par Mitja Podreka,
Avatar Language pack maintainers
It is the number of strings in Moodle Core.
Language packs contain also translations of the additional plugins.
En réponse à Mitja Podreka

Re: What is 30832 number of meaning?

par Uyanga Tuvshinsanaa,
Thank you a lot. Where do I find list of Moodle Core files?
En réponse à Uyanga Tuvshinsanaa

Re: What is 30832 number of meaning?

par Mitja Podreka,
Avatar Language pack maintainers
You can find Moodle Core locale files in 'lang' folder (in release package or Git).
En réponse à Uyanga Tuvshinsanaa

Re: What is 30832 number of meaning?

par Mitsuhiro Yoshida,
Avatar Language pack maintainers

If you only need a list of core en language files, I think you can use the following shell script to obtain it.

#!/bin/sh

MDLHOME=/var/www/html/moodle

cd $MDLHOME
DIRLIST=`find -depth -type d -iname "en"|sed 's/\.\///g'`
for dirname in $DIRLIST
do
  ls $dirname/*
done
If you need a copy of all core en language directories and files, you can use the following shell script.

#!/bin/sh

MDLHOME=/var/www/html/moodle
LANGWORK=/home/lang_work

cd $MDLHOME
DIRLIST=`find -depth -type d -iname "en"|sed 's/\.\///g'`
cd $LANGWORK
for dirname in $DIRLIST
do
  mkdir -p $dirname
  \cp -frp $MDLHOME/$dirname/* ./$dirname/
done