I have a multilingual application for rails. On base.html.erb, I set the lang attribute as follows:
<html lang="<%= I18n.locale %>" ng-app="myApp">
Is this a good way to do this or is there a better one?
No one has answered this question yet.
See related questions:
Source: https://habr.com/ru/post/1546147/More articles:Partitioning a VERY long table in multiple html / php pages - javascriptHow to use the "-join" command after the pipeline - powershell-v3.0How to get a list of my images from the cloud interface with client-side JavaScript? - javascriptGet a list of images using a cloud browser using JavaScript or jQuery - javascriptКак отключить мобильные данные программно только для моего приложения - androidSaving comments in Text.Parsec.Token tokenizers - commentsRemove stdC ++ library dependency - c ++Swift Core Data - Querying Great Results - sqliteRetrofit 1.6: Call RestService with various (TCP) -Ports - androidWordPress W3 Total Cache Minify - JS and CSS files not created (nginx) - phpAll Articles