Comments (4)
@micheh Thank you for reporting the issue. We are currently working on a solution to fix the translation problem, as there is an open PR to address it. #9097
cc @vishnu-narayanan
from chatwoot.
PR-1056 Next available day/hour is not properly translated
from chatwoot.
@micheh Thank you for reporting this. If possible, could you share a screenshot of it? Which language are you using?
The only hard-coded string in this method would be days
right. Anything else?
from chatwoot.
Hello @vishnu-narayanan, here is a screenshot:
I tested it with German (de), but could replicate the issue in other languages like French (fr), Italian (it) and Spanish (es).
Almost all methods in nextAvailabilityTime.js
are affected.
generateRelativeTime
returns an English string:
chatwoot/app/javascript/widget/mixins/nextAvailabilityTime.js
Lines 161 to 165 in 8957277
Line 172 returns the hard coded string on
and the translated day:
hoursAndMinutesToBack
and the other methods used like exactTimeInAmPm
also return hard coded strings:
chatwoot/app/javascript/widget/mixins/nextAvailabilityTime.js
Lines 146 to 154 in 8957277
In the German language, the relative time should be in another place.
EN: We'll be back online tomorrow
DE: Wir werden morgen
wieder online sein
from chatwoot.
Related Issues (20)
- Update documentation HOT 1
- How to install Ubuntu and Apache HOT 5
- Upload File Error HOT 2
- Add a "Conversation Files" field to centralize the media exchanged in the chat HOT 1
- Database migration HOT 2
- Add support for webhook actions in Macros HOT 2
- Label folding funtion HOT 3
- Error: Message being delivered duplicately HOT 3
- Telegram bot BusinessConnection HOT 1
- Customer's reading indication error HOT 3
- Download Chatout Dat HOT 3
- The create account and user button disappeared. HOT 8
- Silent Disconnect HOT 2
- Contacts with out identifier HOT 4
- Replies to customer on chat not recieved at customer side HOT 3
- 500 Internal Server Error on Receiving Messages from Certain Phone Numbers HOT 7
- an issue where the existing conversation history is delete when a customer moves to a different inbox. HOT 1
- Message receiving notification function HOT 1
- Popout a Conversation HOT 1
- Ability to update message (status, content, create time etc.) in API channel HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatwoot.