வலைபெயர்ப்பு மேம்படுத்தும்¶
கப்பல்துறை பட மேம்பாடுகள்¶
The official Weblate Docker image (see டோக்கரைப் பயன்படுத்தி நிறுவுதல்) integrates all upgrade steps. Typically, no manual interaction is needed beyond pulling the latest (or at least newer) version.
See also
பொதுவான மேம்படுத்தல் வழிமுறைகள்¶
Always look for new changes to மென்பொருள் தேவைகள் before upgrading.
Once all requirements are installed or upgraded, ensure your
settings.py matches the changes in the configuration (consult
settings_example.py for correct values).
Always check பதிப்பு-குறிப்பிட்ட வழிமுறைகள் before upgrading. If you are skipping any versions, be sure to follow instructions for all versions you are skipping during such upgrade. It's sometimes better to upgrade gradually to an intermediate version to ensure a smooth migration. Upgrading across multiple releases should work, but is not as well tested as single version upgrades!
Note
Always back up the full database before upgrading, so that you can roll back the database if the upgrade fails, see காப்புப்பிரதி மற்றும் வலைபெயர்ப்பு நகரும்.
மேம்படுத்தும்போது பழைய செயல்முறைகள் இயங்குவதைத் தவிர்க்க WSGI மற்றும் செலரி செயல்முறைகளை நிறுத்துங்கள். இல்லையெனில் தரவுத்தளத்தில் பொருந்தாத மாற்றங்கள் ஏற்படக்கூடும்.
வெப்ளேட்டை மேம்படுத்தவும்
பிஐபி நிறுவல்களுக்கு இதை அடைய முடியும்:
uv pip install -U "weblate[all]==version"
அல்லது, நீங்கள் அண்மைக் கால வெளியிடப்பட்ட பதிப்பைப் பெற விரும்பினால்:
uv pip install -U "weblate[all]"
விருப்பமான சார்புநிலைகள் அனைத்தையும் நிறுவ நீங்கள் விரும்பவில்லை என்றால்:
uv pip install -U weblate
அறிவிலி புதுப்பித்தலைப் பயன்படுத்தி, நீங்கள் புதிய மூலக் குறியீட்டைப் பெற்று உங்கள் நிறுவலைப் புதுப்பிக்க வேண்டும்:
cd weblate-src git pull # Update Weblate inside your virtualenv . ~/weblate-env/bin/uv pip install -e '.[all]' # Install dependencies directly when not using virtualenv uv pip install --upgrade -e . # Install optional dependencies directly when not using virtualenv uv pip install --upgrade -e '.[all]'
New Weblate releases might have new பைதான் சார்புநிலைகள், check if they cover the features you want.
Upgrade the configuration file by following either
settings_example.py, or பதிப்பு-குறிப்பிட்ட வழிமுறைகள்.தரவுத்தளத்தை மேம்படுத்தவும்:
weblate migrate --noinput
Collect updated static files (see சேவையகம் இயங்கும் and நிலையான கோப்புகளை வழங்குதல்):
weblate collectstatic --noinput --clear
Compress JavaScript and CSS files (optional, see கிளையன்ட் சொத்துக்களை சுருக்கவும்):
weblate compressநீங்கள் GIT இலிருந்து ஒரு நிறுவலை இயக்குகிறீர்கள் என்றால், நீங்கள் மேம்படுத்தும் ஒவ்வொரு முறையும் லோகேல் கோப்புகளையும் மீண்டும் உருவாக்க வேண்டும். நீங்கள் இதைச் செய்வதன் மூலம் இதைச் செய்யலாம்:
weblate compilemessagesVerify that your setup is sane (see also விளைவாக்கம் அமைப்பு):
weblate check --deploy
Restart the Celery worker (see செலரியைப் பயன்படுத்தி பின்னணி பணிகள்).
பதிப்பு-குறிப்பிட்ட வழிமுறைகள்¶
Changed in version 5.0: Version specific instructions are now included in the release notes, see Weblate 5.10.
பழைய முக்கிய பதிப்பிலிருந்து மேம்படுத்தவும்¶
முக்கிய பதிப்புகள் முழுவதும் மேம்படுத்தல்கள் ஆதரிக்கப்படவில்லை. ஆரம்ப பெரிய வெளியீட்டிற்கான அண்மைக் கால ஒட்டு நிலைக்கு எப்போதும் மேம்படுத்தவும். மேம்படுத்தல்கள் இந்த நடவடிக்கையைத் தவிர்ப்பது ஆதரிக்கப்படவில்லை மற்றும் உடைந்து விடும்.
நீங்கள் 2.x வெளியீட்டிலிருந்து மேம்படுத்தினால், எப்போதும் முதலில் 3.0.1 ஆக மேம்படுத்தவும்.
நீங்கள் 3.x வெளியீட்டிலிருந்து மேம்படுத்தினால், எப்போதும் முதலில் 4.0.4 ஆக மேம்படுத்தவும்.
நீங்கள் 4.x வெளியீட்டிலிருந்து மேம்படுத்தினால், எப்போதும் முதலில் 5.0.2 ஆக மேம்படுத்தவும்.
பிற தரவுத்தளங்களிலிருந்து postgresql க்கு இடம்பெயர்கிறது¶
Postgresql ஐ விட வேறு தரவுத்தளத்துடன் நீங்கள் வெப்லேட்டை இயக்குகிறீர்கள் என்றால், பின்வரும் படிகளைச் செய்வதன் மூலம் சிறந்த செயல்திறனுக்காக PostgresQL க்கு இடம்பெயர்வதைக் கவனியுங்கள். வலை மற்றும் செலரி சேவையகங்கள் இரண்டையும் முன்பே நிறுத்த நினைவில் கொள்ளுங்கள், இல்லையெனில் நீங்கள் சீரற்ற தரவுகளுடன் முடிவடையும்.
postgresql இல் ஒரு தரவுத்தளத்தை உருவாக்குதல்¶
ஒரு தனி தரவுத்தளத்தில் வலைபெயர்ப்பு இயக்குவது பொதுவாக ஒரு நல்ல யோசனையாகும், மேலும் ஒரு தனி பயனர் கணக்கு:
# If PostgreSQL was not installed before, set the main password
sudo -u postgres psql postgres -c "\password postgres"
# Create a database user called "weblate"
sudo -u postgres createuser -D -P weblate
# Create the database "weblate" owned by "weblate"
sudo -u postgres createdb -E UTF8 -O weblate weblate
pgloader ஐப் பயன்படுத்தி postgresql க்கு இடம்பெயர்கிறது¶
Pgloader என்பது தரவை Postgresql க்கு மாற்றுவதற்கான பொதுவான இடம்பெயர்வு கருவியாகும். உங்கள் வலைபெயர்ப்பு தரவுத்தளத்தை நகர்த்த இதைப் பயன்படுத்தலாம்.
Adjust your
settings.pyto use PostgreSQL as database.postgresql தரவுத்தளத்தில் திட்டத்தை நகர்த்தவும்:
weblate migrate weblate sqlflush | weblate dbshell
3. Run the pgloader to transfer the data. The following script can be used to migrate the database, but you might want to learn more about pgloader to better understand what it does, and tweak it to match your setup:
LOAD DATABASE FROM mysql://weblate:password@localhost/weblate INTO postgresql://weblate:password@localhost/weblate WITH include no drop, truncate, create no tables, create no indexes, no foreign keys, disable triggers, reset sequences, data only ALTER SCHEMA 'weblate' RENAME TO 'public' ;
பூட்டில் இருந்து இடம்பெயர்கிறது¶
As Weblate was originally written as a replacement for Pootle, it is supported
to migrate the user accounts from it. You can dump the users from Pootle and
import them using importusers.