Giter Club home page Giter Club logo

com_localise's People

Contributors

achal-aggarwal avatar adaneinspain avatar andrepereiradasilva avatar betweenbrain avatar brianteeman avatar carcam avatar elkuku avatar gunjanpatel avatar hikashop-nicolas avatar infograf768 avatar javigomez avatar mbabker avatar minijoomla avatar nicksavov avatar phproberto avatar puneet0191 avatar pvullioud avatar richell avatar skullbock avatar uzielweb avatar valc avatar wilsonge avatar yaroslaw74 avatar zero-24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

com_localise's Issues

System tests base

  • Add joomla-cms as a submodule
  • Add the test that installs Joomla
  • Add a test that installs com_localise

@puneet0191 I think this task could be done by you ^_^

System tests for Packages vew

Create system tests for packages view:
administrator/index.php?option=com_localise&view=packages

screen shot 2014-05-30 at 12 48 08

Note: leave this task for the end because the packages view is not yet finished

Sync with Github

en-GB is usually the main language for translating, it would be nice if we can add a button to Sync the en-GB language and get the latest version from Github at:

I think the most important part for tomorrow would be to implement a nice way to use the Github Framework package here

Fix columns in translations view

In translations view (administrator/index.php?option=com_localise&view=translations) replace current columns and icons with this structure:

Tag | Translation name | Translated | Storage / Path | Strings / Phrases | Author | Type | info

Tag: Language tag
Translated: Percentage of wokr done
Storage/Path: Path of the language file
Strings /Phrases: Number of strings language files contains
Author : Whose the author of the lnaguage file and it would be nice to include an icon if it's Joomla core
Type: Component, module, plugin, library...
Info: An icon with tooltip for extra information

Travis is failing

PHP Fatal error: Class 'coding-standards_Sniffs_WhiteSpace_SemicolonSpacingSniff' not found in /home/travis/.phpenv/versions/5.3.27/pear/PHP/CodeSniffer.php on line 1053

Tests languages view

Create the page and the test class for:
administrator/index.php?option=com_localise&view=languages

enhance packager

  • Add xx-XX.finder_cli.ini which does not follow "normal" file names.
  • Allow creation/editing of the xx-XX.localise.php, by adding it to the view and letting copy from reference in a codemirror editable instance.
  • Allow creation/editing of the xx-XX.css, by adding it to the view in a codemirror editable instance.
  • Allow, when making a core pack, adding some stuff in the media folder (calendar for Farsi is a good exemple)

review file headers

All the file headers should look like:

<?php
/**
 * @package     Com_Localise
 * @subpackage XXX
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

Where XXX can be: controller, model...

Bing automatic translation does not work

I am not exactly sure what is going wrong but it does not work. There are no JS errors.

index.php?option=com_localise&view=translation&layout=edit

Clicking on the bing button should automatically translate the sentence.

Fix performance issues

Currently the first load of com_localise starts processes all the .ini causing very poor performance. In some servers you get timeouts.

We need to study the current component and find a solution that makes it more performant. Maybe the solution could be an AJAX view that processes step by step all the things that needs to be done.

Remove JObject

I've seen in a few places new JObject - we should switch to using JRegistry in several of those places.

Localise crashes when reading a wrong date

Com_localise reads the date of the packages:

screen shot 2014-05-30 at 12 28 52

The problem is that when the date in the XML is not in american format it causes a crash in com_localise. To reproduce try to modify the creation date in the .XML manifest file of a language package and then make com_localise to read it. We need to make com_localise able to read a wrong date without chrashing. Later on the user can fix the date using this screen:

screen shot 2014-05-30 at 12 44 36

3rd party icon being displayed always

When accessing translations view (administrator/index.php?option=com_localise&view=translations) 3rd party icon is appearing in core language files.

Add color legend to screens

at 14m50s in the video we see the languages list and also the translation list, they have a colour for every status:

green => translated,
orange => translated but warning because the origin and translated are the same
red => is not tranlsated or is wrong

I suggest that we create a legend at the top of the screen that describes what the color does

Missing button delete at toolbar

There is a delete button before every element in the "languages list":

screen shot 2014-05-20 at 21 23 33

But as the normal Joomla toolbar, I suggest to create a delete button in toolbar:
screen shot 2014-05-20 at 21 25 27

Remove language doesn't works

Issue at: administrator/index.php?option=com_localise&view=languages

When I click on removing a language:
screen shot 2014-05-20 at 21 27 54

I get this:

screen shot 2014-05-20 at 21 27 10

Refactor the place where SQL files are

Right now the folder structure for the SQL files is not good, please refactor the component so it follows the standard folder structure:

/ component / admin / sql / install / mysql /
and
/ component / admin / sql / updates / mysql /

remember to update the XML manifest ^_^

Displaying the Comments

To display the comments is necessary. It was never implemented.
As well, no way to uncomment some strings

Error after installing component

I have create package using sh build.sh file and tried to install packages/com_localise.zip
Installed successfully but after installing found error below.
Did I forget something?

error

Move reference language to every language

We have this in the options of the component:
screen shot 2014-05-30 at 14 31 44

This is used to show the suggested string by Bing translator:
screen shot 2014-05-30 at 15 11 17

So if I create the French translation I will probably translate from the original en-GB files. However if I'm doing the French Canadian I will probably want to set the "reference language" as the fr-FR.

The question is: can we set "reference language" foreach language instead of setting it in the component configuration. That will allow us to have:

  • French from france with reference language as English
  • French canadian with reference language as French from France

Right we can't only do:

  • French from france with reference language as English
  • French canadian with reference language as Engiish

Because we can only set one general "reference language"

Review the status of ICONS

Review the current status of icons in the "Icons" at translations screen and report the issues that needs to be fixed

Created packages doesn't work

related to #94

If you generate the package you will get this:

screen shot 2014-06-05 at 18 13 20

It generates a language.localise.php empty file

Also the XML is empty:
screen shot 2014-06-05 at 18 15 26

Wrong status for some ini files

Some ini files are displayed as not existing in reference language although they are.
Example in site: com_messages

It looks like this is due to the fact that there is no com_messages in front-end

Editing or not Reference language

As it is now, one can edit the reference language and get this error;

Error

RecursiveDirectoryIterator::_construct(/language): failed to open dir: No such file or directory
( ! ) Warning: constant(): Couldn't find constant LOCALISEPATH
in ROOT/administrator/components/com_localise/models/translation.php on line 558

I think we just should not let edit the reference language.
What you think? PR would be quite easy.

Create the package generator

This tool will generate the language packages from the files in the system

Currently we have this view: administrator/index.php?option=com_localise&view=packages

screen shot 2014-05-30 at 14 11 03

The goal of this view is to allow us to generate a language package, right now is not working well but it shouds allow us to:

  • Generate a language package oncluding only language files for SITE
  • Generate a language package oncluding only language files for ADMIN
  • Generate a language package oncluding only language files for SITE & ADMIN

See comment of Jean Marie below

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.