Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First multilingual PR (homepage localised, urls localised, some content localised) #134

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
baseURL: "https://www.prestashop-project.org/"
languageCode: "en-us"
defaultContentLanguage: "en"
title: "PrestaShop Project - Open Source e-Commerce platform"
languages:
en:
title: "PrestaShop Project - Open Source e-Commerce platform"
languageCode: "en-us"
languageName: "English"
weight: 1
it:
title: "PrestaShop Project - Piattaforma e-Commerce Open Source"
languageCode: "it-it"
languageName: "Italiano"
weight: 2

theme: "ps-org-theme"
enableGitInfo: true
Expand Down
49 changes: 49 additions & 0 deletions config/_default/menus.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
main:
#- name: "About"
# url: "about"
# enable: false
# weight: 1
- name: "Blog"
url: "https://build.prestashop-project.org"
weight: 1
- name: "GitHub"
url: "https://github.com/PrestaShop/PrestaShop/"
weight: 2
- name: "Get Involved"
url: "https://devdocs.prestashop-project.org/8/contribute/"
weight: 3
- name: "Contributors"
url: "https://contributors.prestashop.com/"
weight: 4
- name: "Support"
pageRef: "support"
weight: 5
- name: "Resources"
weight: 6

footer_left:
- name: Blog
url: "https://build.prestashop-project.org"
- name: GitHub
url: "https://github.com/PrestaShop/PrestaShop/"
- name: Slack
pageRef: "slack"

footer_middle:
- name: "User documentation"
url: "https://prestashop.gitbook.io/english-documentation-1-7/"
weight: 1
- name: "Developer documentation"
url: "https://devdocs.prestashop-project.org"
weight: 2
- name: "Specifications"
url: "https://build.prestashop-project.org/prestashop-specs/"
weight: 3

footer_right:
- name: "Code of conduct"
pageRef: "code-of-conduct"
weight: 10
- name: "Maintainer's guide"
pageRef: "maintainers-guide"
weight: 20
49 changes: 49 additions & 0 deletions config/_default/menus.it.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
main:
#- name: "About"
# url: "about"
# enable: false
# weight: 1
- name: "Blog"
url: "https://build.prestashop-project.org"
weight: 1
- name: "GitHub"
url: "https://github.com/PrestaShop/PrestaShop/"
weight: 2
- name: "Come contribuire?"
url: "https://devdocs.prestashop-project.org/8/contribute/"
weight: 3
- name: "Contributors"
url: "https://contributors.prestashop.com/"
weight: 4
- name: "Supporto"
pageRef: "support"
weight: 5
- name: "Risorse"
weight: 6

footer_left:
- name: Blog
url: "https://build.prestashop-project.org"
- name: GitHub
url: "https://github.com/PrestaShop/PrestaShop/"
- name: Slack
pageRef: "slack"

footer_middle:
- name: "Documentazione Utente"
url: "https://prestashop.gitbook.io/english-documentation-1-7/"
weight: 1
- name: "Documentazione Sviluppatori"
url: "https://devdocs.prestashop-project.org"
weight: 2
- name: "Specifiche"
url: "https://build.prestashop-project.org/prestashop-specs/"
weight: 3

footer_right:
- name: "Codice di condotta"
pageRef: "code-of-conduct"
weight: 10
- name: "Guida per Maintainer"
pageRef: "maintainers-guide"
weight: 20
63 changes: 0 additions & 63 deletions config/_default/menus.yml

This file was deleted.

40 changes: 40 additions & 0 deletions content/_index.it.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
menuTitle: Home
description: Il progetto PrestaShop è una piattaforma software open source universale per costruire la tua soluzione di e-commerce.

####################### Banner #########################
banner:
title: "Benvenuto nel PrestaShop Project"
image: "/images/home-artwork.png"
content: "Il progetto PrestaShop è una piattaforma software open source universale per costruire la tua soluzione di e-commerce."

##################### Featured links ##########################
feature:
enable: true
title: "Documentazione progetto"
feature_item:
- name: "Documentazione utente"
link: "https://docs.prestashop-project.org/"
icon: "fas fa-book"
content: "Per merchants e utenti finali"
- name: "Documentazione per sviluppatori"
link: "https://devdocs.prestashop-project.org"
icon: "fas fa-file-code"
content: "Per sviluppatori integrator, di core e moduli"
- name: "Specifiche"
link: "https://build.prestashop-project.org/prestashop-specs/"
icon: "fas fa-map"
content: "Per sviluppatori integrator, di core e moduli"


##################### Call to action #####################
call_to_action:
enable: true
title: "Sei Pronto/a?"
image: "images/download.png"
content: "PrestaShop è disponibile gratuitamente su GitHub."
button:
enable: true
label: "Ultime Release"
link: "https://github.com/PrestaShop/PrestaShop/releases"
---
7 changes: 7 additions & 0 deletions content/about.it.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "A proposito del PrestaShop Project"
---

## Cosa è PrestaShop?

PrestaShop è un e-Commerce CMS (Content Management System) open-source.
87 changes: 87 additions & 0 deletions content/code-of-conduct/_index.it.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
Title: Codice di condotta
slug: codice-di-condotta
url: codice-di-condotta
menu:
main:
parent: 'Risorse'
name: 'Codice di condotta'
weight: 5
---

# PrestaShop Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to make participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies within all project spaces, and it also applies when
an individual is representing the project or its community in public spaces.
Examples of representing a project or community include using an official
project e-mail address, posting via an official social media account, or acting
as an appointed representative at an online or offline event. Representation of
a project may be further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [https://www.prestashop.com/en/abuse](https://www.prestashop.com/en/abuse). All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
19 changes: 19 additions & 0 deletions content/maintainers-guide/_index.it.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
title: Guida dei Maintainer
url: guida-dei-maintainer
slug: guida-dei-maintainer
menu:
main:
parent: "Risorse"
name: "Guida dei Maintainer"
url: guida-dei-maintainer
slug: guida-dei-maintainer
weight: 10
---

# Guida per PrestaShop Maintainer

Questa sezione descrive i processi e le linee guida per i Maintainer del progetto.

{{% children /%}}

59 changes: 59 additions & 0 deletions content/maintainers-guide/how-to-become-a-committer.it.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Come diventare un committer
url: guida-dei-maintainer/come-diventare-un-committer
weight: 12
---

# Come diventare un committer

In the PrestaShop project, committer are contributors with partial merge rights.

Committers participate in reviewing code contributions and are able to include them in the project once they have been accepted and verified.


## Prerequisites to become a committer

1. **Active participation in the project**
- Have at least one accepted, quality Pull Request.
- Display a record of Pull Request reviews.
- Real interest in getting involved in code review.
2. **Cultural convergence**
- Respect the Code of Conduct; behave respectfully and in good faith.
- Agree to work together with the rest of the maintainer team towards main goals (see [The Future Architecture][future-architecture]): migration to Symfony, adoption of VueJS ...

## Requirements to continue being a committer

All the above, plus:

1. **Continuous participation and involvement**
- Actively and responsibly review Pull Requests.
2. **Responsible behavior**
- Respect & enforce the project’s quality standards and contribution guidelines.
- Respect & enforce the project’s issue and code review workflow.
- Respect & enforce convergence with the project’s goals.
- Put the best interest of the project before one’s own (in case of conflict of interests).

## How to apply to be a committer

1. [Open an issue on the open source repository](https://github.com/PrestaShop/open-source/issues/new) explaining why you apply to become a committer, and on what part of the project (Core or module/subproject).
2. If three maintainers approve the application, the new committer is approved.
3. After 30 days, if the issue did not receive three positive votes, it is considered rejected and closed.

Note: the above process is not mandatory for individuals who are offered the committer role by maintainers, as long as the candidate is supported by at least three maintainers.

Upon approval, new committer is granted full committer rights and accesses for a 90-day trial period. This period aims to provide both the maintainer team and the new committer a better understanding of this new arrival and to validate whether expectations meet reality. Both maintainer team or new committer can express their wish for this situation to end before the 90-day trial period, revoking the committer status.

At the end of the 90-day trial period, the committer is confirmed in his position.

## How to lose the committer status

A project committer status can be revoked for any of the following reasons:

- Refusal to follow the rules and policies stated in this document.
- Lack of activity for the past three months.
- Willful negligence or intent to harm the PrestaShop project.
- On their demand, for personal reasons.
- On request of at least three maintainers.

[future-architecture]: https://build.prestashop.com/news/prestashop-in-2019-and-beyond-part-3-the-future-architecture/
[slack]: {{< param ProjectUrls.Slack >}}
Loading