Commit 2dc07bf3 by lmf

增加西班牙站

parent 378564fa
# How to contribute Spanish Language pack
In this tutorial, I will show you how to contribute Spanish language pack
## Step 1: Download
First of all, you should fork the repo. In the top-right corner of the page, click **Fork**.
![fork](https://help.github.com/assets/images/help/repository/fork_button.jpg)
## Step 2: Update github_contributions.csv
Let's me explain the workflow:
- It will automatically pull translated strings from [Crowdin](https://crowdin.com/project/magento-2) daily.
- [github_contributions.csv](https://github.com/mageplaza/magento-2-spanish-language-pack/blob/master/github_contributions.csv) has been contributed by Mageplaza and Magento community.
- We will merge `github_contributions.csv` with [es_ES.csv](https://github.com/mageplaza/magento-2-spanish-language-pack/blob/master/es_ES.csv). Your Magento 2 store will use this csv file.
So, you should contribute to [github_contributions.csv](https://github.com/mageplaza/magento-2-spanish-language-pack/blob/master/github_contributions.csv) file.
### How to edit file github_contributions.csv
The `github_contributions.csv` is saparated **line by line**, see:
```
"Create Order","Crear pedido",module,Magento_AdvancedCheckout
```
- "Create Order": Original string
- "Crear pedido": Translated string
- module: declare module syntax
- Magento_AdvancedCheckout: module scope (only translate in this module)
Fom the begining, `github_contributions.csv` is empty, you guys should add more translations into it.
#### Suggestions
- You can copy any part of `es_ES.csv` and paste to `github_contributions.csv` then translate it.
- Please do not copy all lines in `es_ES.csv`, we will not approve it in this case.
## Step 3: Contribute
- Now time to contribute, **commit your work** to this repo.
- After committing, it will ask you to **create a pull request**, so please create a pull request, we will check and approve it.
You can [install this language package via composer](https://github.com/mageplaza/magento-2-spanish-language-pack#-method-1-composer-method-recommend) and other people can install / contribute this language pack.
[Contact us](https://www.mageplaza.com/contact.html) if we miss your pull request(s).
Happy translating!
The MIT License (MIT)
Copyright (c) 2022 Mageplaza
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
\ No newline at end of file
## Magento 2 Spanish Language Pack
Magento 2 platform approves multiple languages around the world, so **Magento 2 Spanish Language Pack** is created to conduct the change of language via the in-line translation dictionary on Magento 2 store. The in-line translation dictionary is developed based on the community project at Crowdin where you can download over 12,000 phrases in Spanish to replace the default language. Magento 2 Spanish Language Package will involve the list of comprehensive guides which are essential for the perfect translation. Please keep tracking the topic to finish the interpretation at all.
Read more [Magento 2 Spanish Language Pack](https://www.mageplaza.com/magento-2-spanish-language-pack.html)
![Mageplaza Spanish language pack](https://cdn3.mageplaza.com/media/general/qjWPj1W.png)
## Overview
1. Language Package Process
2. Install Spanish Language Pack
3. How to active Spanish language pack
4. How to contribute
5. Supported Magento versions
6. Notes
7. Language package authors
## 1. Language Package Process
This is status of Spanish Language Pack, you can see how many percentage of this project has been done.
![Spanish language pack process](https://progress-bar.dev//?title=completed)
It is not fully translated? Feel free to contribute:
- [On Crowdin](https://crowdin.com/project/magento-2): It takes time to approve your contribution by Magento team.
- [On Github](https://github.com/mageplaza/magento-2-spanish-language-pack/blob/master/HOW-TO-CONTRIBUTE.md): It's faster, our team will approve it after you send pull request.
Find other [language packs here](https://www.mageplaza.com/magento-2-extensions/language-packs.html)
## 2. How to Install Spanish Language Pack
There are 3 different methods to install this language pack.
### ✓ Method #1. Composer method (Recommend)
Install the Spanish language pack via composer is never easier.
**Install Spanish pack**:
With Marketing Automation (recommend):
```
composer require mageplaza/magento-2-spanish-language-pack:dev-master mageplaza/module-smtp
php bin/magento setup:static-content:deploy es_ES
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
```
Without Marketing Automation:
```
composer require mageplaza/magento-2-spanish-language-pack:dev-master
php bin/magento setup:static-content:deploy es_ES
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
```
**Update Spanish pack**:
```
composer update mageplaza/magento-2-spanish-language-pack:dev-master
php bin/magento setup:static-content:deploy es_ES
php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
```
#### Authentication required (If any)
![Authentication required](https://cdn.mageplaza.com/media/general/dmryiPk.png)
If you have not added this authentication, you can follow [this guide](http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)
Or use these keys:
```
Public Key: c7af1bfc9352e9c986637eec85ed53af
Private Key: 17e1b72ea5f0b23e9dbfb1f68dc12b53
```
### ✓ Method #2. Copy & Paste method (Not recommended)
This method suitable for non-technical people such as merchants. Just download the package then flush cache.
**Overview**
- Step 1: Download the Spanish language pack
- Step 2: Unzip Spanish pack
- Step 3: Flush Magento 2 Cache
#### Step 1 : Download the Spanish language pack
You can download the language pack from above link
#### Step 2: Unzip Spanish pack
Unzip the Spanish language pack to Magento 2 root folder. In this guide, we extract to `/var/www/html/`
Your Magento 2 root folder can be: `/home/account_name/yourstore.com/public_html/`
```
unzip master.zip app/i18n/Mageplaza/
```
Rename folder `magento-2-spanish-language-pack` to `es_es`.
You also can unzip locally and upload them to Magento 2 root folder.
#### Step 3: Flush Magento 2 Cache
Follow this guide to [Flush Cache on your Magento 2 store](https://www.mageplaza.com/kb/how-flush-enable-disable-cache.html)
### ✓ Method #3. Download and install manually (Not recommended)
To download and install Spanish pack manually, you have to access to your server via FTP or SFTP.
#### Step 1: Download the package
- [Download .zip](https://github.com/mageplaza/magento-2-spanish-language-pack/archive/master.zip)
- [Download .tar.gz](https://github.com/mageplaza/magento-2-spanish-language-pack/tarball/master)
#### Step 1: Unzip and upload
Unzip the compressed file and upload file `master.zip` into `app/i18n/Mageplaza/es_es/`
See this screenshot:
![Spanish pack](https://cdn3.mageplaza.com/media/general/language-pack.png)
This language pack code is: **es_es**
#### Step 2: Flush cache
Follow this guide to [Flush Cache on your Magento 2 store](https://www.mageplaza.com/kb/how-flush-enable-disable-cache.html)
## 3. How to Active the Spanish language pack
Now time to active the Spanish language pack for your Magento 2 store. From Magento 2 admin panel, navigate to `Stores > Configuration > General > Locale Options`
![{{Magento 2 Spanish language pack}}](https://cdn.mageplaza.com/media/general/aPSUA0l.png)
## 4. How to contribute
Contribute to this language at :
- [On Crowdin](https://crowdin.com/project/magento-2): It takes time to approve your contribution by Magento team.
- [On Github](https://github.com/mageplaza/magento-2-spanish-language-pack/blob/master/HOW-TO-CONTRIBUTE.md): It's faster, our team will approve it after you send pull request.
## 5. Supported Magento versions
It supports all Magento 2 versions include [Magento 2 open-source](https://www.mageplaza.com/download-magento/) (Community), Magento 2 Commerce (EE), Magento Cloud, Magento B2B, Magento MSI.
- Magento v2.0.x
- Magento v2.1.x
- Magento v2.2.x
- Magento v2.3.x
- Magento v2.4.x
## 6. Notes
- This project automatically updates weekly from Crowdin.
- Any question, issue please [create a new issue](https://github.com/mageplaza/magento-2-spanish-language-pack/issues/new)
## 7. Language package authors
- [Magento official translations project for Magento 2](https://crowdin.com/project/magento-2)
- Magento Community
- Language packages built by [Mageplaza team](https://www.mageplaza.com/)
## 8. References
- https://www.mageplaza.com/magento-2-spanish-language-pack.html
- https://crowdin.com/project/magento-2
## Mageplaza extensions on Magento Marketplace, Github
- [Layered Navigation](https://marketplace.magento.com/mageplaza-layered-navigation-m2.html)
- [One Step Checkout](https://marketplace.magento.com/mageplaza-magento-2-one-step-checkout-extension.html)
- [SMTP](https://marketplace.magento.com/mageplaza-module-smtp.html) ; [SMTP on Github](https://github.com/mageplaza/magento-2-smtp)
- [Blog](https://github.com/mageplaza/magento-2-blog)
- [Security](https://marketplace.magento.com/mageplaza-module-security.html)
- [Social Login](https://github.com/mageplaza/magento-2-social-login)
- [SEO](https://github.com/mageplaza/magento-2-seo) ; [SEO on Marketplace](https://marketplace.magento.com/mageplaza-magento-2-seo-extension.html)
- [SMTP](https://github.com/mageplaza/magento-2-smtp)
- [Product Slider](https://github.com/mageplaza/magento-2-product-slider)
- [Banner](https://github.com/mageplaza/magento-2-banner-slider)
- [Sample Payment Method](https://github.com/mageplaza/magento-2-sample-payment-method)
{
"name": "magento/language-es_es",
"description": "Spanish (Spain) language",
"license": [
"OSL-3.0",
"AFL-3.0"
],
"config": {
"sort-packages": true
},
"name": "mageplaza/magento-2-spanish-language-pack",
"description": "Spanish language package for Magento 2",
"homepage": "https://www.mageplaza.com",
"require": {
"magento/framework": "*"
"mageplaza/module-core": "^1.3.13"
},
"type": "magento2-language",
"minimum-stability": "dev",
"prefer-stable": true,
"license": [
"MIT"
],
"authors": [
{
"name": "Mageplaza team",
"email": "hi@mageplaza.com",
"homepage": "https://www.mageplaza.com",
"role": "Leader"
}
],
"autoload": {
"files": [
"registration.php"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Mageplaza,Mageplaza
"If an item is %1 in the cart with %2 of these conditions true:","Si un artículo es %1 en la cesta con %2 de estas condiciones verdaderas:",module,Magento_SalesRule
"If %1 %2 %3 for a subselection of items in cart matching %4 of these conditions:","Si %1 %2 %3 para una subselección de artículos en la cesta coincidiendo %4 de estas condiciones:",module,Magento_SalesRule
"Enabled by Default","Habilitado por Defecto",module,Magento_Cms
"Enabled by Default","Habilitado por Defecto",module,Magento_VersionsCms
"Yes (302 Found)","Sí (302 Encontrado)",module,Magento_Config
"Yes (301 Moved Permanently)","Sí (301 Movido Permanentemente)",module,Magento_Config
"Item not found or already ordered","Artículo no encontrado o ya pedido",module,Magento_Multishipping
"Unable to save Cron expression","No se puede guardar la expresión Cron",module,Magento_Reminder
"Recent statistics have been updated.","Se han actualizado las estadísticas recientes.",module,Magento_Reports
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<language xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:App/Language/package.xsd">
<code>es_ES</code>
<vendor>Magento</vendor>
<package>es_ES</package>
<vendor>mageplaza</vendor>
<package>es_es</package>
</language>
\ No newline at end of file
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Mageplaza_Spanish package
* NOTICE OF LICENSE
*
* This source file is subject to the MIT License
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://www.mageplaza.com/LICENSE.txt
*
* @category Mageplaza
* @package Mageplaza_Spanish
* @copyright Copyright (c) 2022
* @license https://www.mageplaza.com/LICENSE.txt
*/
use Magento\Framework\Component\ComponentRegistrar;
ComponentRegistrar::register(ComponentRegistrar::LANGUAGE, 'magento_es_es', __DIR__);
\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::LANGUAGE,
'mageplaza_es_es',
__DIR__
);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment