[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [task #16418] pot tempplate generator
From: |
Luis Falcon |
Subject: |
[Health-dev] [task #16418] pot tempplate generator |
Date: |
Thu, 10 Aug 2023 04:35:40 -0400 (EDT) |
URL:
<https://savannah.gnu.org/task/?16418>
Summary: pot tempplate generator
Group: GNU Health
Submitter: meanmicio
Submitted: Thu 10 Aug 2023 08:35:38 AM UTC
Should Start On: Thu 10 Aug 2023 12:00:00 AM UTC
Should be Finished on: Sun 10 Sep 2023 12:00:00 AM UTC
Category: Localization
Priority: 5 - Normal
Status: In Progress
Privacy: Public
Percent Complete: 0%
Assigned to: None
Open/Closed: Open
Release: None
Discussion Lock: Any
Module: all
Component: Hospital Management
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 10 Aug 2023 08:35:38 AM UTC By: Luis Falcon <meanmicio>
Dear devs / localization team
I have created a script (adapted from tryton) that generates the pot template
files for all the active health packages.
The pot files are important as the base language in Weblate and in different
translation programs.
Here's the header that explains the usage:
#!/usr/bin/env python
# Generates the template English files
#
# The script traverses all the health* root_dirs and export
# the source English strings to the health_*.pot file in the
# locale directory
# Adapted from Tryton script to export to weblate
# Usage : generate_gnuhealth_pot_files.py --database=<db_name> root_dir
# Example: generate_gnuhealth_pot_files.py --database=health42 tryton
Feng, we might want to merge it into your po-export with a new argument.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?16418>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Health-dev] [task #16418] pot tempplate generator,
Luis Falcon <=