Code Monkey home page Code Monkey logo

Comments (4)

infograf768 avatar infograf768 commented on September 13, 2024

will test asap.

from com_localise.

infograf768 avatar infograf768 commented on September 13, 2024

@dieskim

I confirm your findings. Not sure we should consider it as an issue.
A simple way to get rid of the problem in your case is to enter a space in the field.
In this case, com_localise will consider the field as translated.

from com_localise.

dieskim avatar dieskim commented on September 13, 2024

@infograf768 - yes I can use a space, but then the space gets output in the actual output code, and this can at times get pretty ugly, espessially if you have two or 3 language strings next to each other

If for Example:

$chapterTitle = JText::_('COM_CHAPTER_TITLE_PREFIX_SEPERATOR') . JText::_('COM_CHAPTER_TITLE_SEPERATOR') . JText::_('COM_CHAPTER_TITLE_CHAPTERNAME') . $chapterNumber;

In something like that you will now have 3 spaces if we have to use spaces - then the $chapterNumber - but if we use blank(null) we can use any combination, 1 , 2, 3 or non and have no spaces.

A simple fix would be to add a global config that we can enable to ignore and not reload blank values?

from com_localise.

infograf768 avatar infograf768 commented on September 13, 2024

I then suggest you use ​ the zero width space: https://www.fileformat.info/info/unicode/char/200B/index.htm in the field. It should work for your needs.

I used it below between separator and 12

separator​12

from com_localise.

Related Issues (20)

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.