Code Monkey home page Code Monkey logo

translation-factory's People

Contributors

chriskonnertz 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

translation-factory's Issues

ToDo: Enhance README.md

It might make sense to emphasize how actually use this tool, especially where the translations are stored.

Call to undefined function ChrisKonnertz\TranslationFactory\title_case()

Hello,

I'm trying your package.
I'm using Laravel 9, had no installation problem.
A soon as I'm trying to open a translation file I'm having this error...
Look like it's coming form a call in the blade file (chriskonnertz / translation-factory / src/ ChrisKonnertz /TranslationFactory /resources/ views / file.blade.php):

<h1 title="{{ $translationBag->getBaseFile() }}">{{ $translationBag->getTitle() }}</h1>

Any idea why ?
Thanks, Denis

Fix Link Color

The link color in the footer on the config file is not red but purple (=original Spectre color).

(Linux, Chromium)

Ideas

Ideas:

  • Make the dashboard more informative
  • Fire important events
  • Update "already translated" state in the items list when the current item has been translated
  • Show infos about what has been translated already (stats on dashboard and "is translated" marker in item selector)
  • Cache an array with hashes as keys and file names as items (not sure if this is really necessary)
  • Translate the app
  • Do not use var_export() to export the arrays but write a custom method with better formatting
  • AJAXify choosing an item (=use AJAX to load the item instead of reloading the whole page)
  • Make the application work is JS is disabled (not very likely to happen) UPDATE: Not happening
  • Create a layer between the original translation files and the file output. Might be useful if we want to add meta information,for example the user ID of the creater of a translation.
  • Escape line breaks when writing them to translation files (just calling addcslashes() is not enough!)
  • "Auto-Translate" button (to force DeepL to translate again)

Todo:

  • Important: Protect links ("a" element) against CSRF attacks by adding the CSRF token
  • Login issue
  • Mobile optimization

Line breaks

It seems like line breaks in the translation text area are incorrectly written to the translation file.

php artisan vendor:publish requested even if run

I did run

$ php artisan vendor:publish --provider="ChrisKonnertz\TranslationFactory\Integration\TranslationFactoryServiceProvider"
Publishing complete.

But the web interface still shows:

Exception
Please publish the assets of the Translation Factory package via: "php artisan vendor:publish --provider="ChrisKonnertz\TranslationFactory\Integration\TranslationFactoryServiceProvider"

Laravel Framework 5.5.32

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.