# README
lang - text language utilities
A collection of common functions and catalog constructs for text language processing.
Note that there is no documentation and these utilities are intended for the needs of the go-enjin/be and enjenv projects at this time.
Installation
> go get github.com/go-corelibs/lang@latest
Go-CoreLibs
Go-CoreLibs is a repository of shared code between the Go-Curses and Go-Enjin projects.
License
Copyright 2024 The Go-CoreLibs Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use file except in compliance with the License.
You may obtain a copy of the license at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ParseTemplateTranslations uses [github.com/go-corelibs/tmplstr] ParseTemplate and searches for any actions calling TranslationCommandName, parsing the message ID, arguments and comments into a Message structure.
No description provided by the author
Prune removes all characters from input
TODO: move Prune to [github.com/go-corelibs/strings].
Deprecated: PruneTranslatorComments is now a simple wrapper around the generically useful and optimized: [github.com/go-corelibs/tmplstr].RemoveTemplateComments.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
TranslationCommandName is the name of the text and html template FuncMap entry responsible for rendering translated text.
TrimLayoutsFromFilename determines whether ParseTemplateTranslations will remove the `.../layouts/` parent paths from the filename.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author