Create, view and edit project #20
lecoqlibre
started this conversation in
Functional specifications
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An
project
is a WordPress object referring to a Weblate project hosted on Weblate instance.See #2 for managing projects.
A registered Weblate project is composed of:
instance
: the instance this project is part of (drop-down list)project name
: the name to be used inside WordPress (prefilled with the name of the Weblate project)Weblate project slug
: refer to the Weblate project's slug for internal used onlyAPI tokens
: list of API tokens each assigned to permissions (create, read, update, delete): to be able to make authenticated requests with different users. Permissions are listed as check-boxes.component naming rule
: to generate the default name of a new Weblate component into this projectComponent name generation rule is some text that can contains
tag
: a predefined text that will be replaced by a value:%site_title%
: name of the WordPress website%post_type%
: post type of the element (post, page, term...)%post_title%
: title of the elementExample:
%post_type% - %post_title%
will generate the component namepost - Hello world!
for a post titled Hello world!.Once a project is registered, the administrator can select every Weblate component it wants to use for translating the website. To do this, each Weblate component is listed with a checkbox
Use this component for translating
. This will create if necessary when saving the project a WordPress component object for any Weblate component "used for translating" (see #3).Beta Was this translation helpful? Give feedback.
All reactions