macos இல் நிறுவுகிறது¶
வன்பொருள் தேவைகள்¶
வலைபெயர்ப்பு எந்த சமகால வன்பொருளிலும் சிக்கல்கள் இல்லாமல் இயங்க வேண்டும், பின்வருபவை ஒரு ஓச்டில் வெப்லேட்டை இயக்க தேவையான குறைந்தபட்ச உள்ளமைவு (வெப்ளேட், தரவுத்தளம் மற்றும் வலை சேவையகம்):
3 சிபி ரேம்
2 சிபியு கோர்கள்
1 சிபி சேமிப்பு இடம்
Note
வலைபெயர்ப்பு நிறுவுவதற்கான உண்மையான தேவைகள் அதில் நிர்வகிக்கப்படும் மொழிபெயர்ப்புகளின் அளவின் அடிப்படையில் பெரிதும் வேறுபடுகின்றன.
நினைவக பயன்பாடு¶
அதிக நினைவகம் சிறந்தது - இது அனைத்து நிலைகளிலும் (கோப்பு முறைமை, தரவுத்தளம் மற்றும் வெப்லேட்) தேக்குவதற்கு பயன்படுத்தப்படுகிறது. நூற்றுக்கணக்கான மொழிபெயர்ப்பு கூறுகளுக்கு, குறைந்தது 4 சிபி ரேம் பரிந்துரைக்கப்படுகிறது.
Hint
For systems with less memory than recommended, ஒற்றை-செயல்முறை செலரி அமைப்பு is recommended.
சிபியு பயன்பாடு¶
பல ஒரே நேரத்தில் பயனர்கள் தேவையான சிபியு கோர்களின் அளவை அதிகரிக்கின்றனர்.
சேமிப்பக பயன்பாடு¶
வழக்கமான தரவுத்தள சேமிப்பக பயன்பாடு 1 மில்லியன் புரவலன் செய்யப்பட்ட சொற்களுக்கு 300 எம்பி ஆகும்.
நகலி செய்யப்பட்ட களஞ்சியங்களுக்குத் தேவையான சேமிப்பக இடம் மாறுபடும், ஆனால் வலைபெயர்ப்பு ஆழமற்ற குளோன்களைச் செய்வதன் மூலம் அவற்றின் அளவை குறைவாக வைத்திருக்க முயற்சிக்கிறது.
முனைகள்¶
For small and medium-sized sites (millions of hosted words), all Weblate components (see கட்டிடக்கலை கண்ணோட்டம்) can be run on a single node.
When you grow to hundreds of millions of hosted words, it is recommended to have a dedicated node for database (see வலைபெயர்ப்புடுக்கான தரவுத்தள அமைப்பு).
நிறுவல்¶
கணினி தேவைகள்¶
Install the dependencies needed to build the Python modules (see மென்பொருள் தேவைகள்):
brew install python pango cairo gobject-introspection glib libyaml pkgconf zstd lz4 xxhash libxmlsec1 librsvg uv
Optionally install software for running production server, see சேவையகம் இயங்கும், வலைபெயர்ப்புடுக்கான தரவுத்தள அமைப்பு, செலரியைப் பயன்படுத்தி பின்னணி பணிகள். Depending on size of your installation you might want to run these components on dedicated servers.
உள்ளக நிறுவல் வழிமுறைகள்:
# Web server option 1: NGINX and uWSGI
brew install nginx uwsgi
# Web server option 2: Apache with ``mod_wsgi``
brew install httpd
# Caching backend: Valkey
brew install valkey
# Database server: PostgreSQL
brew install postgresql
# Gettext for the msgmerge add-on
brew install gettext
பைதான் தொகுதிகள்¶
Hint
We're using virtualenv to install Weblate in a separate environment from your system. If you are not familiar with it, check virtualenv User Guide.
வலைபெயர்ப்புடுக்கு மெய்நிகர்இன்வை உருவாக்கவும்:
uv venv ~/weblate-env
வலைபெயர்ப்புடுக்கு மெய்நிகர் ஈன்வை செயல்படுத்தவும்:
. ~/weblate-env/bin/activateஅனைத்து விருப்ப சார்புகளையும் உள்ளடக்கிய வலைபெயர்ப்பை நிறுவவும்:
# Install Weblate with all optional dependencies uv pip install "weblate[all]"
Please check பைதான் சார்புநிலைகள் for fine-tuning of optional dependencies.
See also
சரிசெய்தல் குழாய் நிறுவுதல் describes frequent issues while installing Python dependencies.
வலைபெயர்ப்பு கட்டமைத்தல்¶
Note
The following assumes the virtualenv used by Weblate is activated
(by executing . ~/weblate-env/bin/activate). If not, specify the full path
to the weblate command as ~/weblate-env/bin/weblate.
Copy the file
~/weblate-env/lib/python3.9/site-packages/weblate/settings_example.pyto~/weblate-env/lib/python3.9/site-packages/weblate/settings.py.Adjust the values in the new
settings.pyfile to your liking. You will need to provide at least the database credentials and Django secret key, but you will want more changes for production setup, see உள்ளமைவை சரிசெய்தல்.Create the database and its structure for Weblate (the example settings use PostgreSQL, check வலைபெயர்ப்புடுக்கான தரவுத்தள அமைப்பு for a production-ready setup):
weblate migrateSee also
Create an administrator user account
admin, generate its password, and copy it to the clipboard; remember to save it for later use:weblate createadminHint
நிர்வாகி கடவுச்சொல்லை நீங்கள் முன்பு தவறவிட்டால்/இழந்தால், பின்வரும் கட்டளையுடன் புதிய ஒன்றை உருவாக்கலாம்:
weblate createadmin --update
See also
Collect the static files for your web server (see சேவையகம் இயங்கும் and நிலையான கோப்புகளை வழங்குதல்):
weblate collectstaticCompress the JavaScript and CSS files (optional, see கிளையன்ட் சொத்துக்களை சுருக்கவும்):
weblate compressசெலரி தொழிலாளர்களைத் தொடங்கவும். வளர்ச்சி நோக்கங்களுக்காக இது தேவையில்லை, ஆனால் இல்லையெனில் கடுமையாகப் பரிந்துரைக்கப்படுகிறது. செலரியைப் பயன்படுத்தி பின்னணி பணிகள் மேலும் செய்தி உள்ளது:
~/weblate-env/lib/python3.9/site-packages/weblate/examples/celery startStart the development server (சேவையகம் இயங்கும் details a production setup):
weblate runserver
நிறுவிய பின்¶
வாழ்த்துக்கள், உங்கள் வலைபெயர்ப்பு சேவையகம் இப்போது இயங்குகிறது, நீங்கள் அதைப் பயன்படுத்தத் தொடங்கலாம்.
You can now access Weblate on
http://localhost:8000/.நிறுவலின் போது பெறப்பட்ட நிர்வாக நற்சான்றிதழ்களுடன் உள்நுழைக அல்லது புதிய பயனர்களுடன் பதிவு செய்யுங்கள்.
You can now run Weblate commands using weblate command when Weblate virtualenv is active, see மேலாண்மை கட்டளைகள்.
You can stop the test server with Ctrl+C.
Review potential issues with your installation either on
/manage/performance/URL (see செயல்திறன் அறிக்கை) or using weblate check --deploy, see விளைவாக்கம் அமைப்பு.
மொழிபெயர்ப்பைச் சேர்ப்பது¶
Open the admin interface (
http://localhost:8000/create/project/) and create the project you want to translate. See திட்ட உள்ளமைவு for more details.நீங்கள் இங்கே குறிப்பிட வேண்டியது திட்ட பெயர் மற்றும் அதன் வலைத்தளம்.
Create a component which is the real object for translation - it points to the VCS repository, and selects which files to translate. See கூறு உள்ளமைவு for more details.
The important fields here are: கூறு பெயர், மூல குறியீடு களஞ்சியம், and கோப்பு முகமூடி for finding translatable files. Weblate supports a wide range of formats including குனு கெட்டெக்ச்ட் போ (சிறிய பொருள்), ஆண்ட்ராய்டு string resources, apple ஐஇமு strings, சாவா பண்புகள், stringsdict வடிவம் or சரளமான வடிவமைப்பு, see உள்ளூராக்கல் கோப்பு வடிவங்கள் for more details.
மேலே உள்ளவை முடிந்ததும் (இது உங்கள் வி.சி.எச் களஞ்சியத்தின் அளவைப் பொறுத்து நீண்ட செயல்முறையாகவும், மொழிபெயர்க்க வேண்டிய செய்திகளின் எண்ணிக்கையாகவும் இருக்கலாம்), நீங்கள் மொழிபெயர்க்கத் தொடங்கலாம்.